A set of predicates to manipulate binary data streams, e.g. for data mining, communication protocols or compiler writing.
read_boolean/2,
read_byte/2,
read_char/2
read_double/2,
read_float/2,
read_int/2,
read_long/2,
read_short/2,
read_utf/2,
read_unsigned_byte/2,
read_unsigned_short/2,
The complementary set of predicates for writing to binary files is
also provided:
write_*/2
The first argument is always a binary stream, the second contains the
term to read/write. For the semantics see the Java classes
DataInputStream and DataOutputStream.
| scroll to top |
|