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 ByteBuffer
buffer
-
Constructor Summary
Constructors Constructor Description RoboBufferIterator(byte[] buffer, ByteOrder order)
-
Method Summary
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)
-
Field Details
-
Constructor Details
-
Method Details
-
seek
public void seek(int offset)- Specified by:
seek
in classcom.android.i18n.timezone.internal.BufferIterator
-
skip
public void skip(int byteCount)- Specified by:
skip
in classcom.android.i18n.timezone.internal.BufferIterator
-
pos
public int pos()- Specified by:
pos
in classcom.android.i18n.timezone.internal.BufferIterator
-
readByteArray
public void readByteArray(byte[] dst, int dstOffset, int byteCount)- Specified by:
readByteArray
in classcom.android.i18n.timezone.internal.BufferIterator
-
readByte
public byte readByte()- Specified by:
readByte
in classcom.android.i18n.timezone.internal.BufferIterator
-
readInt
public int readInt()- Specified by:
readInt
in classcom.android.i18n.timezone.internal.BufferIterator
-
readIntArray
public void readIntArray(int[] dst, int dstOffset, int intCount)- Specified by:
readIntArray
in classcom.android.i18n.timezone.internal.BufferIterator
-
readLongArray
public void readLongArray(long[] dst, int dstOffset, int longCount)- Specified by:
readLongArray
in classcom.android.i18n.timezone.internal.BufferIterator
-
readShort
public short readShort()- Specified by:
readShort
in classcom.android.i18n.timezone.internal.BufferIterator
-