Function getType

Look at the first byte of an object to determine the type.

MsgpackType getType (
  ubyte value
) pure nothrow @nogc @safe;

Note

For some types it's entirely possible that this byte also contains data. It needs to be part of the data passed to parseType.