binary.common

Members

Classes

DecodeException
class DecodeException

Thrown when an error occured while decoding data.

Enums

ByteOrder
enum ByteOrder

Represents byte order (endianess)

Functions

decodeBinary
T decodeBinary(ubyte[] data, ByteOrder byteOrder = ByteOrder.Native, string file = __FILE__, uint line = __LINE__)

Reads T value from source.

encodeBinary
ubyte[] encodeBinary(T value, ByteOrder byteOrder = ByteOrder.Native)

Binary encodes value.

Meta