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 Details

  • Constructor Details

  • Method Details

    • seek

      public void seek​(int offset)
      Specified by:
      seek in class libcore.io.BufferIterator
    • skip

      public void skip​(int byteCount)
      Specified by:
      skip in class libcore.io.BufferIterator
    • pos

      public int pos()
      Specified by:
      pos in class libcore.io.BufferIterator
    • readByteArray

      public void readByteArray​(byte[] dst, int dstOffset, int byteCount)
      Specified by:
      readByteArray in class libcore.io.BufferIterator
    • readByte

      public byte readByte()
      Specified by:
      readByte in class libcore.io.BufferIterator
    • readInt

      public int readInt()
      Specified by:
      readInt in class libcore.io.BufferIterator
    • readIntArray

      public void readIntArray​(int[] dst, int dstOffset, int intCount)
      Specified by:
      readIntArray in class libcore.io.BufferIterator
    • readLongArray

      public void readLongArray​(long[] dst, int dstOffset, int longCount)
      Specified by:
      readLongArray in class libcore.io.BufferIterator
    • readShort

      public short readShort()
      Specified by:
      readShort in class libcore.io.BufferIterator