org.apache.lucene.util

Class PagedBytes.PagedBytesDataOutput

    • Method Detail

      • writeByte

        public void writeByte(byte b)
        Description copied from class: DataOutput
        Writes a single byte.

        The most primitive data type is an eight-bit byte. Files are accessed as sequences of bytes. All other data types are defined as sequences of bytes, so file formats are byte-order independent.

        Specified by:
        writeByte in class DataOutput
        See Also:
        DataInput.readByte()
      • getPosition

        public long getPosition()
        Return the current byte position.