Interface BitIndexPointer

    • Field Detail

      • MAX_FILE_ID

        static final byte MAX_FILE_ID
        largest permissible file id using most implementations
        See Also:
        Constant Field Values
      • BIT_MASK

        static final byte BIT_MASK
        amount to mask byte by to obtain bit offset
        See Also:
        Constant Field Values
      • FILE_SHIFT

        static final byte FILE_SHIFT
        amount to shift byte by to obtain file id
        See Also:
        Constant Field Values
    • Method Detail

      • setBitIndexPointer

        void setBitIndexPointer​(BitIndexPointer pointer)
        Update this pointer to reflect the same values as the specified pointer
        Parameters:
        pointer - the pointer to use to set the byte offset, bit offset and file number parameters.
      • setFileNumber

        void setFileNumber​(byte fileId)
        Set the file number.
        Parameters:
        fileId - the file number.
      • getFileNumber

        byte getFileNumber()
        Returns the file number (byte value in the 0-31 range)
        Returns:
        the file number (byte value in the 0-31 range)