|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.udpwork.ssdb.MemoryStream
public class MemoryStream
Field Summary | |
---|---|
byte[] |
buf
|
int |
data
|
int |
size
|
int |
slot
|
Constructor Summary | |
---|---|
MemoryStream()
|
|
MemoryStream(byte[] copy)
|
|
MemoryStream(byte[] copy,
int off,
int len)
|
|
MemoryStream(int capacity)
|
Method Summary | |
---|---|
void |
decr(int num)
|
int |
memchr(byte b,
int offset)
|
int |
memchr(int b,
int offset)
|
void |
nice()
|
String |
repr()
|
static String |
repr(byte[] bs)
|
int |
space()
|
byte[] |
toArray()
|
void |
write(byte b)
|
void |
write(byte[] bs)
|
void |
write(byte[] bs,
int start,
int len)
|
void |
write(int b)
|
void |
write(String s)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int data
public int slot
public int size
public byte[] buf
Constructor Detail |
---|
public MemoryStream()
public MemoryStream(int capacity)
public MemoryStream(byte[] copy)
public MemoryStream(byte[] copy, int off, int len)
Method Detail |
---|
public byte[] toArray()
public static String repr(byte[] bs)
public String repr()
public int space()
public void nice()
public void decr(int num)
public void write(int b)
public void write(byte b)
public void write(String s)
public void write(byte[] bs)
public void write(byte[] bs, int start, int len)
public int memchr(int b, int offset)
public int memchr(byte b, int offset)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |