Package org.robolectric.shadows
Class ShadowMemoryMappedFile.RoboBufferIterator
java.lang.Object
libcore.io.BufferIterator
org.robolectric.shadows.ShadowMemoryMappedFile.RoboBufferIterator
- Enclosing class:
- ShadowMemoryMappedFile
protected static class ShadowMemoryMappedFile.RoboBufferIterator
extends libcore.io.BufferIterator
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
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
void
seek
(int offset) void
skip
(int byteCount)
-
Field Details
-
buffer
-
-
Constructor Details
-
RoboBufferIterator
-
-
Method Details
-
seek
public void seek(int offset) - Specified by:
seek
in classlibcore.io.BufferIterator
-
skip
public void skip(int byteCount) - Specified by:
skip
in classlibcore.io.BufferIterator
-
pos
public int pos()- Specified by:
pos
in classlibcore.io.BufferIterator
-
readByteArray
public void readByteArray(byte[] dst, int dstOffset, int byteCount) - Specified by:
readByteArray
in classlibcore.io.BufferIterator
-
readByte
public byte readByte()- Specified by:
readByte
in classlibcore.io.BufferIterator
-
readInt
public int readInt()- Specified by:
readInt
in classlibcore.io.BufferIterator
-
readIntArray
public void readIntArray(int[] dst, int dstOffset, int intCount) - Specified by:
readIntArray
in classlibcore.io.BufferIterator
-
readLongArray
public void readLongArray(long[] dst, int dstOffset, int longCount) - Specified by:
readLongArray
in classlibcore.io.BufferIterator
-
readShort
public short readShort()- Specified by:
readShort
in classlibcore.io.BufferIterator
-