mysql-native v1.2.0
API Reference Home: [This Version] [Latest Version] [Other Versions]
consumeIfComplete - multiple declarations
Function consumeIfComplete
Function consumeIfComplete
Function consumeIfComplete
Decodes a Length Coded Binary from a packet
T consumeIfComplete(T)
(
ref ubyte[] packet
) pure nothrow;
See Also
struct LCB
Parameters
packet = A packet that starts with a LCB. The bytes is popped off iff the packet is complete. See LCB.
Returns
A decoded LCB value