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 SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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- 
seekpublic void seek(int offset) - Specified by:
- seekin class- libcore.io.BufferIterator
 
- 
skippublic void skip(int byteCount) - Specified by:
- skipin class- libcore.io.BufferIterator
 
- 
pospublic int pos()- Specified by:
- posin class- libcore.io.BufferIterator
 
- 
readByteArraypublic void readByteArray(byte[] dst, int dstOffset, int byteCount) - Specified by:
- readByteArrayin class- libcore.io.BufferIterator
 
- 
readBytepublic byte readByte()- Specified by:
- readBytein class- libcore.io.BufferIterator
 
- 
readIntpublic int readInt()- Specified by:
- readIntin class- libcore.io.BufferIterator
 
- 
readIntArraypublic void readIntArray(int[] dst, int dstOffset, int intCount) - Specified by:
- readIntArrayin class- libcore.io.BufferIterator
 
- 
readLongArraypublic void readLongArray(long[] dst, int dstOffset, int longCount) - Specified by:
- readLongArrayin class- libcore.io.BufferIterator
 
- 
readShortpublic short readShort()- Specified by:
- readShortin class- libcore.io.BufferIterator
 
 
-