consume - multiple declarations

Function consume

Returns N number of bytes from the packet and advances the array

ubyte[] consume (
  ref ubyte[] packet,
  size_t N
) pure nothrow;

Function consume

Parse Length Coded String

string consume(T) (
  ref ubyte[] packet
) pure;

See Also

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