decode - multiple declarations

Function decode

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

Function decode

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

Function decode

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

Function decode

Decodes a Length Coded Binary from a packet

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