protected static class FlashJournalRM.Buffer extends Object
| Constructor and Description |
|---|
Buffer(int cbBuffer)
Instantiate a buffer.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getByteArray()
Obtain the underlying byte[].
|
ByteBuffer |
getByteBuffer()
Obtain the ByteBuffer for this buffer.
|
FlashJournalRM.Buffer |
getNext()
Get the next buffer in a linked list of buffers.
|
void |
render(Binary bin, int of)
Copy the passed Binary value into the buffer at the specified offset and using the passed overlay.
|
void |
setNext(FlashJournalRM.Buffer buf)
Set the next buffer in a linked list of buffers.
|
void |
setOverlay(byte[] abOv)
Specify an overlay byte[].
|
String |
toString() |
public Buffer(int cbBuffer)
cbBuffer - the size of the bufferpublic byte[] getByteArray()
public ByteBuffer getByteBuffer()
public void setOverlay(byte[] abOv)
abOv - the overlay byte[]public void render(Binary bin, int of)
bin - the Binary value to copy into this bufferof - the offset of this buffer to copy the passed Binary topublic FlashJournalRM.Buffer getNext()
public void setNext(FlashJournalRM.Buffer buf)
buf - the next buffer in a linked list of buffers