Function getNumLCBBytes

Extract number of bytes used for this LCB

Returns the number of bytes required to store this LCB

Prototype

byte getNumLCBBytes(
  const(ubyte) lcbHeader
) pure nothrow;

See Also

http://forge.mysql.com/wiki/MySQL_Internals_ClientServer_Protocol#Elements

Returns

0 if it's a null value, or number of bytes in other cases

Authors

Copyright

License