Метод | Описание | |
---|---|---|
ByteBuffer ( byte buf ) : System | ||
ByteBuffer ( byte buf, int offset, int length ) : System |
Constructs the buffer.
|
|
Read ( byte b, int offset, int count ) : ByteBuffer |
Reads a byte array from the buffer.
|
|
ReadByte ( ) : byte |
Reads a byte from the buffer at the current position.
|
|
ReadChar ( byte arr, int offset ) : char | ||
ReadInt2 ( ) : short |
Reads a short from the buffer at the current position.
|
|
ReadInt2 ( byte arr, int offset ) : short | ||
ReadInt4 ( ) : int |
Reads an integer from the buffer at the current position.
|
|
ReadInt4 ( byte arr, int offset ) : int | ||
ReadInt8 ( byte arr, int offset ) : long | ||
URShift ( int number, int bits ) : int |
Operates a shift on the given integer by the number of bits specified.
|
|
URShift ( int number, long bits ) : int | ||
URShift ( long number, int bits ) : long | ||
URShift ( long number, long bits ) : long | ||
Write ( ByteBuffer buffer ) : ByteBuffer |
Writes a ByteBuffer in to this buffer.
|
|
Write ( byte b ) : ByteBuffer | ||
Write ( byte b, int offset, int count ) : ByteBuffer |
Writes a byte array into the buffer.
|
|
WriteByte ( byte v ) : ByteBuffer |
Writes a byte into the buffer at the current position.
|
|
WriteChar ( char value, byte arr, int offset ) : void | ||
WriteInt2 ( short v ) : ByteBuffer |
Writes a short into the buffer at the current position.
|
|
WriteInt2 ( short value, byte arr, int offset ) : void | ||
WriteInt8 ( long value, byte arr, int offset ) : void | ||
WriteInteger ( int v ) : ByteBuffer |
Writes an integer into the buffer at the current position.
|
|
WriteInteger ( int value, byte arr, int offset ) : void |
public ByteBuffer ( byte buf, int offset, int length ) : System | ||
buf | byte | |
offset | int | |
length | int | |
Результат | System |
public Read ( byte b, int offset, int count ) : ByteBuffer | ||
b | byte | |
offset | int | |
count | int | |
Результат | ByteBuffer |
public static ReadChar ( byte arr, int offset ) : char | ||
arr | byte | |
offset | int | |
Результат | char |
public static ReadInt2 ( byte arr, int offset ) : short | ||
arr | byte | |
offset | int | |
Результат | short |
public static ReadInt4 ( byte arr, int offset ) : int | ||
arr | byte | |
offset | int | |
Результат | int |
public static ReadInt8 ( byte arr, int offset ) : long | ||
arr | byte | |
offset | int | |
Результат | long |
public static URShift ( int number, int bits ) : int | ||
number | int | The number to shift. |
bits | int | The number of bits to shift the given number. |
Результат | int |
public static URShift ( int number, long bits ) : int | ||
number | int | |
bits | long | |
Результат | int |
public static URShift ( long number, int bits ) : long | ||
number | long | |
bits | int | |
Результат | long |
public static URShift ( long number, long bits ) : long | ||
number | long | |
bits | long | |
Результат | long |
public Write ( ByteBuffer buffer ) : ByteBuffer | ||
buffer | ByteBuffer | |
Результат | ByteBuffer |
public Write ( byte b, int offset, int count ) : ByteBuffer | ||
b | byte | |
offset | int | |
count | int | |
Результат | ByteBuffer |
public static WriteChar ( char value, byte arr, int offset ) : void | ||
value | char | |
arr | byte | |
offset | int | |
Результат | void |
public static WriteInt2 ( short value, byte arr, int offset ) : void | ||
value | short | |
arr | byte | |
offset | int | |
Результат | void |
public static WriteInt8 ( long value, byte arr, int offset ) : void | ||
value | long | |
arr | byte | |
offset | int | |
Результат | void |
public WriteInteger ( int v ) : ByteBuffer | ||
v | int | |
Результат | ByteBuffer |
public static WriteInteger ( int value, byte arr, int offset ) : void | ||
value | int | |
arr | byte | |
offset | int | |
Результат | void |