Function getDataSize

Get serialized data size at runtime. DataSize!() should be preferred if the type is known at compile time.

ulong getDataSize (
  MsgpackType type
) pure nothrow @nogc @safe;