Method | Description | |
---|---|---|
Append ( Stream ms, int size ) : void | ||
Append ( byte b ) : void | ||
Append ( byte array, int length ) : void | ||
AppendHex ( String hexString ) : void |
Appends a string of raw Hex digits (i.e. "0xFFAB")
|
|
ByteBuffer ( ) : System |
Creates a ByteBuffer
|
|
ByteBuffer ( int initialCapacity ) : System | ||
Clear ( ) : void | ||
HexStringToBytes ( string hex ) : byte[] |
Converts a string of hex digits like "0xFFAB" or "00FFEE" to bytes
|
|
Prepend ( byte b ) : void | ||
PrependHex ( String hexString ) : void | ||
ToByteArray ( ) : byte[] |
Method | Description | |
---|---|---|
resizeByAtLeast ( int size ) : void |
public Append ( byte array, int length ) : void | ||
array | byte | |
length | int | |
return | void |
public AppendHex ( String hexString ) : void | ||
hexString | String | string of hex digits, with optional leading 0x |
return | void |
public ByteBuffer ( int initialCapacity ) : System | ||
initialCapacity | int | |
return | System |
public static HexStringToBytes ( string hex ) : byte[] | ||
hex | string | |
return | byte[] |
public PrependHex ( String hexString ) : void | ||
hexString | String | |
return | void |