mysql-native v3.0.0

API Reference Home: [This Version] [Latest Version] [Other Versions]


Function getNumLCBBytes

Extract number of bytes used for this LCB

byte getNumLCBBytes (
  const(ubyte) lcbHeader
) pure;

Returns the number of bytes required to store this LCB

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