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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintpos()bytereadByte()voidreadByteArray(byte[] dst, int dstOffset, int byteCount) intreadInt()voidreadIntArray(int[] dst, int dstOffset, int intCount) voidreadLongArray(long[] dst, int dstOffset, int longCount) shortvoidseek(int offset) voidskip(int byteCount)
-
Field Details
-
buffer
-
-
Constructor Details
-
RoboBufferIterator
-
-
Method Details
-
seek
public void seek(int offset) - Specified by:
seekin classlibcore.io.BufferIterator
-
skip
public void skip(int byteCount) - Specified by:
skipin classlibcore.io.BufferIterator
-
pos
public int pos()- Specified by:
posin classlibcore.io.BufferIterator
-
readByteArray
public void readByteArray(byte[] dst, int dstOffset, int byteCount) - Specified by:
readByteArrayin classlibcore.io.BufferIterator
-
readByte
public byte readByte()- Specified by:
readBytein classlibcore.io.BufferIterator
-
readInt
public int readInt()- Specified by:
readIntin classlibcore.io.BufferIterator
-
readIntArray
public void readIntArray(int[] dst, int dstOffset, int intCount) - Specified by:
readIntArrayin classlibcore.io.BufferIterator
-
readLongArray
public void readLongArray(long[] dst, int dstOffset, int longCount) - Specified by:
readLongArrayin classlibcore.io.BufferIterator
-
readShort
public short readShort()- Specified by:
readShortin classlibcore.io.BufferIterator
-