public interface IByteBuffer
| Modifier and Type | Method and Description |
|---|---|
byte |
byteAt(long index)
Get the byte at the given index of the underlying byte storage.
|
void |
close()
If teh underlying byte representation is IO related, close the IO stream
|
byte[] |
getBytes() |
byte[] |
getBytes(int offset,
int len)
Return a byte array filled with content from underlying byte storage.
|
long |
length()
Total size in terms of # of bytes.
|
void |
writeToFileOutputStream(java.io.FileOutputStream ost,
long offset,
long length) |
byte byteAt(long index)
void close()
java.io.IOExceptionbyte[] getBytes()
byte[] getBytes(int offset,
int len)
offset - int bytes offset (not UTF char unit)len - intlong length()
void writeToFileOutputStream(java.io.FileOutputStream ost,
long offset,
long length)
throws java.io.IOException
java.io.IOException