Class IndexHeader
- Object
-
- IndexHeader
-
public class IndexHeader extends Object
- Author:
- Tommaso Nolli
-
-
Field Summary
Fields Modifier and Type Field Description static byteLSB_ORDERstatic byteMSB_ORDERstatic byteNATIVE_ORDERstatic byteNEW_LSB_ORDERstatic byteNEW_MSB_ORDER
-
Constructor Summary
Constructors Constructor Description IndexHeader(byte byteOrder)IndexHeader(ReadableByteChannel channel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description bytegetByteOrder()voidwriteTo(ByteBuffer buf)
-
-
-
Field Detail
-
LSB_ORDER
public static final byte LSB_ORDER
- See Also:
- Constant Field Values
-
MSB_ORDER
public static final byte MSB_ORDER
- See Also:
- Constant Field Values
-
NATIVE_ORDER
public static final byte NATIVE_ORDER
- See Also:
- Constant Field Values
-
NEW_LSB_ORDER
public static final byte NEW_LSB_ORDER
- See Also:
- Constant Field Values
-
NEW_MSB_ORDER
public static final byte NEW_MSB_ORDER
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
IndexHeader
public IndexHeader(byte byteOrder)
-
IndexHeader
public IndexHeader(ReadableByteChannel channel) throws IOException, StoreException
- Throws:
IOExceptionStoreException
-
-
Method Detail
-
writeTo
public void writeTo(ByteBuffer buf)
-
getByteOrder
public byte getByteOrder()
- Returns:
- Returns the byteOrder.
-
-