public interface ByteArrayBuffer
Modifier and Type | Method and Description |
---|---|
byte[] |
getBuffer()
Gets the byte buffer that supports this instance.
|
int |
getLength()
Gets the length of the data in the buffer.
|
int |
getOffset()
Gets the offset in the byte buffer where the actual data starts.
|
boolean |
isInvalid()
Perform checks on the byte buffer represented by this instance and
return true if it is found to be invalid.
|
void |
setLength(int len)
Sets the length of the data in the buffer.
|
void |
setOffset(int off)
Sets the offset of the data in the buffer.
|
byte[] getBuffer()
int getOffset()
int getLength()
void setLength(int len)
len
- the length of the data in the buffer.void setOffset(int off)
off
- the offset of the data in the buffer.boolean isInvalid()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.