- <init>
Constructs BinaryCodec from a file and set its mode to writing or not
- writeBytes
- writeInt
Write a 32-bit int to the output stream
- writeString
Writes a string to the buffer as ASCII bytes
- close
Close the appropriate stream
- readBytes
Read a byte array from the input stream
- readInt
Read an int off the input stream
- getOutputStream
- readString
Read a string off the input stream, as ASCII bytes
- setInputStream
- readByte
- readUByte
Reads an 8-bit unsigned byte from the input stream. This method assumes
little-endianness.