메소드 | 설명 | |
---|---|---|
Append ( ByteBuffer anotherBuffer ) : void |
Append another buffer to this buffer.
|
|
Append ( byte b ) : void |
Appends a byte to the buffer.
|
|
Append ( byte bytes, int offset, int len ) : void |
Appends a byte array or part of to the buffer.
|
|
ByteAt ( int index ) : byte | ||
ByteBuffer ( Stream inp ) : System |
Loads the stream into a buffer.
|
|
ByteBuffer ( byte buffer ) : System | ||
ByteBuffer ( byte buffer, int length ) : System | ||
ByteBuffer ( byte buffer, int offset, int length ) : System | ||
ByteBuffer ( int initialCapacity ) : System | ||
CharAt ( int index ) : int |
메소드 | 설명 | |
---|---|---|
EnsureCapacity ( int requestedLength ) : void |
Ensures the requested capacity by increasing the buffer size when the current length is exceeded.
|
public Append ( ByteBuffer anotherBuffer ) : void | ||
anotherBuffer | ByteBuffer | another ByteBuffer |
리턴 | void |
public Append ( byte bytes, int offset, int len ) : void | ||
bytes | byte | a byte array |
offset | int | an offset with |
len | int | |
리턴 | void |
public ByteAt ( int index ) : byte | ||
index | int | the index to retrieve the byte from |
리턴 | byte |
public ByteBuffer ( byte buffer ) : System | ||
buffer | byte | a byte array that will be wrapped with ByteBuffer . |
리턴 | System |
public ByteBuffer ( byte buffer, int length ) : System | ||
buffer | byte | a byte array that will be wrapped with ByteBuffer . |
length | int | the length of valid bytes in the array |
리턴 | System |
public ByteBuffer ( byte buffer, int offset, int length ) : System | ||
buffer | byte | a byte array that will be wrapped with ByteBuffer . |
offset | int | the offset of the provided buffer. |
length | int | the length of valid bytes in the array |
리턴 | System |
public ByteBuffer ( int initialCapacity ) : System | ||
initialCapacity | int | the initial capacity for this buffer |
리턴 | System |
public CharAt ( int index ) : int | ||
index | int | the index to retrieve a byte as int or char. |
리턴 | int |