Property | Type | Description | |
---|---|---|---|
bsBuffer | byte[] | ||
intCount | int |
Method | Description | |
---|---|---|
Add ( byte b ) : void |
Add a byte
|
|
Add ( byte bs, int StartIndex, int Length ) : void |
Add bytes
|
|
ByteBuffer ( ) : System |
Initialize instance
|
|
Clear ( ) : void |
Clear object's data
|
|
GetString ( System encoding ) : string |
Convert bytes data to a string
|
|
Reset ( ) : void |
Reset current position without clear buffer
|
|
ToArray ( ) : byte[] |
Get validate bytes array
|
|
this ( int index ) : byte |
Set of get byte at special index which starts with 0
|
Method | Description | |
---|---|---|
FixBuffer ( int NewSize ) : void |
Fix inner buffer so it can fit to new size of buffer
|
public Add ( byte bs, int StartIndex, int Length ) : void | ||
bs | byte | Bytes |
StartIndex | int | Start index |
Length | int | Length |
return | void |
protected FixBuffer ( int NewSize ) : void | ||
NewSize | int | new size |
return | void |
public GetString ( System encoding ) : string | ||
encoding | System | string encoding |
return | string |