Module BinaryReader
In: lib/facet/binaryreader.rb

Methods

Constants

VERSION = '0.9.1'

Public Instance methods

default is native byte-order

byteorder()

Alias for byte_order

byteorder=(new_byteorder)

Alias for byte_order=

read_uint8()

Alias for read_word8

no byteorder for 8 bit!

read exactly n characters, otherwise raise an exception.

Private Instance methods

shortcut method for readn+unpack

same as method ru, but swap bytes if native byteorder == byteorder

[Validate]