BinaryParser(buffer: ByteBuffer)
BinaryParser(buffer: ByteArray)
Initialize with the specified buffer
BinaryParser(file: File, order: ByteOrder = ByteOrder.LITTLE_ENDIAN)
Initialize with the specified file and byte order
order
- the byte order, default is little endian
BinaryParser(input: InputStream, order: ByteOrder = ByteOrder.LITTLE_ENDIAN)
Initialize with the specified input stream and byte order