public interface EndianType
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.
Modifier and Type | Field and Description |
---|---|
static int |
BIG_ENDIAN
Identifier for big-endian byte ordering (i.e.
|
static int |
LITTLE_ENDIAN
Identifier for little-endian byte ordering (i.e.
|
static final int BIG_ENDIAN
static final int LITTLE_ENDIAN
Copyright © 2014. All rights reserved.