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) |
|
void |
readLongArray(long[] dst,
int dstOffset,
int longCount) |
|
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.BufferIterator
public void skip(int byteCount)
skip
in class libcore.io.BufferIterator
public int pos()
pos
in class libcore.io.BufferIterator
public void readByteArray(byte[] dst, int dstOffset, int byteCount)
readByteArray
in class libcore.io.BufferIterator
public byte readByte()
readByte
in class libcore.io.BufferIterator
public int readInt()
readInt
in class libcore.io.BufferIterator
public void readIntArray(int[] dst, int dstOffset, int intCount)
readIntArray
in class libcore.io.BufferIterator
public void readLongArray(long[] dst, int dstOffset, int longCount)
readLongArray
in class libcore.io.BufferIterator
public short readShort()
readShort
in class libcore.io.BufferIterator