Class ShadowMemoryMappedFile.RoboBufferIterator

  • Enclosing class:
    ShadowMemoryMappedFile

    protected static class ShadowMemoryMappedFile.RoboBufferIterator
    extends libcore.io.BufferIterator
    • Constructor Detail

      • RoboBufferIterator

        public RoboBufferIterator​(byte[] buffer,
                                  ByteOrder order)
    • Method Detail

      • 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