PQMacAddress

MAC address. Struct holds 6 octets of the address.

Serializes to bson as string like 'xx:xx:xx:xx:xx:xx'

Constructors

this
this(ubyte a, ubyte b, ubyte c, ubyte d, ubyte e, ubyte f)

Creating from already separated octets

this
this(ubyte[6] data)

Creating form raw buffer

this
this(string s)

Parsing from string 'xx:xx:xx:xx:xx:xx'

Members

Functions

toBson
Bson toBson()

Serializing to bson as string 'xx:xx:xx:xx:xx:xx'

toString
string toString()

Converting to string 'xx:xx:xx:xx:xx:xx'

Static functions

fromBson
PQMacAddress fromBson(Bson bson)

Deserializing from bson. Expecting string format

Variables

a
ubyte a;
b
ubyte b;
c
ubyte c;
d
ubyte d;
e
ubyte e;
f
ubyte f;
Undocumented in source.

Meta