BinaryDataInput Interface Members
In This Topic
The following tables list the members exposed by BinaryDataInput.
Public Properties
| Name | Description |
| ByteOrdering | Returns the endianess (i.e., byte ordering) of the implementing class. Note that an implementing class may implement only one type of endianness or both, which would be decided at creatiuon time. |
Top
Public Methods
| Name | Description |
| readByte | Should read a signed byte (i.e., 8 bit) from the input. reading, the input should be realigned at the byte level. |
| readDouble | Should read an IEEE double precision (i.e., 64 bit) floating-point number from the input. Prior to reading, the input should be realigned at the byte level. |
| readFloat | Should read an IEEE single precision (i.e., 32 bit) floating-point number from the input. Prior to reading, the input should be realigned at the byte level. |
| readInt | Should read a signed int (i.e., 32 bit) from the input. Prior to reading, the input should be realigned at the byte level. |
| readLong | Should read a signed long (i.e., 64 bit) from the input. Prior to reading, the input should be realigned at the byte level. |
| readShort | Should read a signed short (i.e., 16 bit) from the input. Prior to reading, the input should be realigned at the byte level. |
| readUnsignedByte | Should read an unsigned byte (i.e., 8 bit) from the input. It is returned as an int since Java does not have an unsigned byte type. Prior to reading, the input should be realigned at the byte level. |
| readUnsignedInt | Should read an unsigned int (i.e., 32 bit) from the input. It is returned as a long since Java does not have an unsigned short type. Prior to reading, the input should be realigned at the byte level. |
| readUnsignedShort | Should read an unsigned short (i.e., 16 bit) from the input. It is returned as an int since Java does not have an unsigned short type. Prior to reading, the input should be realigned at the byte level. |
| skipBytes | Skips n bytes from the input. Prior to skipping, the input should be realigned at the byte level. |
Top
See Also