protected static class ShadowMemoryMappedFile.RoboBufferIterator
extends libcore.io.BufferIterator
| Modifier and Type | Field | Description |
|---|---|---|
protected ByteBuffer |
buffer |
| Constructor | Description |
|---|---|
RoboBufferIterator(byte[] buffer,
ByteOrder order) |
| Modifier and Type | Method | Description |
|---|---|---|
int |
pos() |
|
byte |
readByte() |
|
void |
readByteArray(byte[] dst,
int dstOffset,
int byteCount) |
|
int |
readInt() |
|
void |
readIntArray(int[] dst,
int dstOffset,
int intCount) |
|
short |
readShort() |
|
void |
seek(int offset) |
|
void |
skip(int byteCount) |
protected final ByteBuffer buffer
public RoboBufferIterator(byte[] buffer,
ByteOrder order)
public void seek(int offset)
seek in class libcore.io.BufferIteratorpublic void skip(int byteCount)
skip in class libcore.io.BufferIteratorpublic int pos()
pos in class libcore.io.BufferIteratorpublic void readByteArray(byte[] dst,
int dstOffset,
int byteCount)
readByteArray in class libcore.io.BufferIteratorpublic byte readByte()
readByte in class libcore.io.BufferIteratorpublic int readInt()
readInt in class libcore.io.BufferIteratorpublic void readIntArray(int[] dst,
int dstOffset,
int intCount)
readIntArray in class libcore.io.BufferIteratorpublic short readShort()
readShort in class libcore.io.BufferIterator