jj2000.j2k.io
Interface EndianType

All Known Implementing Classes:
BEBufferedRandomAccessFile, BufferedRandomAccessFile, ImgReaderPGX

public interface EndianType

This interface defines constants for the two types of byte ordering: little- and big-endian.

Little-endian is least significant byte first.

Big-endian is most significant byte first.

This interface defines the constants only. In order to use the constants in any other class you can either use the fully qualified name (e.g., EndianType.LITTLE_ENDIAN) or declare this interface in the implements clause of the class and then access the identifier directly.


Field Summary
static int BIG_ENDIAN
          Identifier for big-endian byte ordering (i.e.
static int LITTLE_ENDIAN
          Identifier for little-endian byte ordering (i.e.
 

Field Detail

BIG_ENDIAN

public static final int BIG_ENDIAN
Identifier for big-endian byte ordering (i.e. most significant byte first)

See Also:
Constant Field Values

LITTLE_ENDIAN

public static final int LITTLE_ENDIAN
Identifier for little-endian byte ordering (i.e. least significant byte first)

See Also:
Constant Field Values