com.groupdocs.search.common

Class ArrayReader



  • public class ArrayReader
    extends Object

    Represents a byte array data reader.

    • Constructor Detail

      • ArrayReader

        public ArrayReader(byte[] array)

        Initializes a new instance of the ArrayReader class.

        Parameters:
        array - The byte array to read from.
    • Method Detail

      • getArray

        public final byte[] getArray()

        Gets the byte array.

        Returns:
        The byte array.
      • getIndex

        public final int getIndex()

        Gets the current reading position.

        Returns:
        The current reading position.
      • readByte

        public final byte readByte()

        Reads the next byte in the array.

        Returns:
        The next byte in the array.
      • readBoolean

        public final boolean readBoolean()

        Reads the next boolean value in the array.

        Returns:
        The next boolean value in the array.
      • readChar

        public final char readChar()

        Reads the next char value in the array.

        Returns:
        The next char value in the array.
      • readInt32

        public final int readInt32()

        Reads the next int value in the array.

        Returns:
        The next int value in the array.
      • readInt64

        public final long readInt64()

        Reads the next long value in the array.

        Returns:
        The next long value in the array.
      • readDouble

        public final double readDouble()

        Reads the next double value in the array.

        Returns:
        The next double value in the array.
      • readString

        public final String readString()

        Reads the next String value in the array.

        Returns:
        The next String value in the array.