decode

Decodes a Length Coded Binary from a packet

  1. T decode(ubyte[] packet, size_t n)
  2. T decode(ubyte[] packet)
  3. T decode(ubyte[] packet)
  4. LCB decode(ubyte[] packet)
    pure nothrow
    decode
    (
    T : LCB
    )
    (
    in ubyte[] packet
    )

Parameters

packet ubyte[]

A packet that starts with a LCB. See mysql.protocol.extra_types.LCB.

Return Value

Type: LCB

A decoded LCB value

See Also

struct mysql.protocol.extra_types.LCB

Meta