decode - multiple declarations

Function decode

Prototype

T decode(T)(
  in ubyte[] packet,
  size_t n
) pure nothrow;

Function decode

Decodes a Length Coded Binary from a packet

Prototype

LCB decode(T)(
  in ubyte[] packet
) pure nothrow;

See Also

struct LCB

Parameters

packet = A packet that starts with a LCB. See LCB.

Returns

A decoded LCB value

Function decode

Prototype

T decode(T, ubyte N)(
  in ubyte[] packet
) pure nothrow
if (isIntegral!T);

Function decode

Prototype

T decode(T, ubyte N)(
  in ubyte[] packet
) pure nothrow
if (isFloatingPoint!T);

Authors

Copyright

License