Метод | Описание | |
---|---|---|
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[] |
Метод | Описание | |
---|---|---|
resizeByAtLeast ( int size ) : void |
public Append ( Stream ms, int size ) : void | ||
ms | Stream | |
size | int | |
Результат | void |
public Append ( byte array, int length ) : void | ||
array | byte | |
length | int | |
Результат | void |
public AppendHex ( String hexString ) : void | ||
hexString | String | string of hex digits, with optional leading 0x |
Результат | void |
public ByteBuffer ( int initialCapacity ) : System | ||
initialCapacity | int | |
Результат | System |
public static HexStringToBytes ( string hex ) : byte[] | ||
hex | string | |
Результат | byte[] |
public PrependHex ( String hexString ) : void | ||
hexString | String | |
Результат | void |