Package org.robolectric.shadows
Class ShadowMemoryMappedFileS.RoboBufferIterator
java.lang.Object
com.android.i18n.timezone.internal.BufferIterator
org.robolectric.shadows.ShadowMemoryMappedFileS.RoboBufferIterator
- Enclosing class:
- ShadowMemoryMappedFileS
protected static class ShadowMemoryMappedFileS.RoboBufferIterator
extends com.android.i18n.timezone.internal.BufferIterator
-
Field Summary
Fields Modifier and Type Field Description protected ByteBufferbuffer -
Constructor Summary
Constructors Constructor Description RoboBufferIterator(byte[] buffer, ByteOrder order) -
Method Summary
Modifier and Type Method Description intpos()bytereadByte()voidreadByteArray(byte[] dst, int dstOffset, int byteCount)intreadInt()voidreadIntArray(int[] dst, int dstOffset, int intCount)voidreadLongArray(long[] dst, int dstOffset, int longCount)shortreadShort()voidseek(int offset)voidskip(int byteCount)
-
Field Details
-
Constructor Details
-
Method Details
-
seek
public void seek(int offset)- Specified by:
seekin classcom.android.i18n.timezone.internal.BufferIterator
-
skip
public void skip(int byteCount)- Specified by:
skipin classcom.android.i18n.timezone.internal.BufferIterator
-
pos
public int pos()- Specified by:
posin classcom.android.i18n.timezone.internal.BufferIterator
-
readByteArray
public void readByteArray(byte[] dst, int dstOffset, int byteCount)- Specified by:
readByteArrayin classcom.android.i18n.timezone.internal.BufferIterator
-
readByte
public byte readByte()- Specified by:
readBytein classcom.android.i18n.timezone.internal.BufferIterator
-
readInt
public int readInt()- Specified by:
readIntin classcom.android.i18n.timezone.internal.BufferIterator
-
readIntArray
public void readIntArray(int[] dst, int dstOffset, int intCount)- Specified by:
readIntArrayin classcom.android.i18n.timezone.internal.BufferIterator
-
readLongArray
public void readLongArray(long[] dst, int dstOffset, int longCount)- Specified by:
readLongArrayin classcom.android.i18n.timezone.internal.BufferIterator
-
readShort
public short readShort()- Specified by:
readShortin classcom.android.i18n.timezone.internal.BufferIterator
-