Method | Description | |
---|---|---|
AddData ( byte data, int offset, int len ) : void |
Add some data to our buffer.
|
|
ByteQueue ( ) : System | ||
ByteQueue ( int capacity ) : System | ||
NextTwoPow ( int i ) : int | ||
Read ( byte buf, int offset, int len, int skip ) : void |
Read data from the buffer.
|
|
RemoveData ( int len, int skip ) : byte[] | ||
RemoveData ( byte buf, int off, int len, int skip ) : void | ||
RemoveData ( int i ) : void |
Remove some bytes from our data from the beginning.
|
public AddData ( byte data, int offset, int len ) : void | ||
data | byte | A byte-array to read data from. |
offset | int | How many bytes to skip at the beginning of the array. |
len | int | How many bytes to read from the array. |
return | void |
public Read ( byte buf, int offset, int len, int skip ) : void | ||
buf | byte | The buffer where the read data will be copied to. |
offset | int | How many bytes to skip at the beginning of buf. |
len | int | How many bytes to read at all. |
skip | int | How many bytes from our data to skip. |
return | void |
public RemoveData ( int len, int skip ) : byte[] | ||
len | int | |
skip | int | |
return | byte[] |
public RemoveData ( byte buf, int off, int len, int skip ) : void | ||
buf | byte | |
off | int | |
len | int | |
skip | int | |
return | void |
public RemoveData ( int i ) : void | ||
i | int | How many bytes to remove. |
return | void |