BitBlob.this

Create a BitBlob from binary data, e.g. serialized data

  1. this(ubyte[] bin, bool isLE)
    struct BitBlob(size_t Size)
    @safe pure nothrow @nogc
    this
    (
    scope const ubyte[] bin
    ,
    bool isLE = true
    )
  2. this(const(char)[] hexstr)

Parameters

bin ubyte[]

Binary data to store in this BitBlob.

isLE bool

true if the data is little endian, false otherwise. Internally the data will be stored in little endian.

Throws

If bin.length != typeof(this).sizeof

Meta