Get serialized data size at runtime. DataSize!() should be preferred if the type is known at compile time.
Get serialized data size at compile time.
assert(DataSize!(MsgpackType.posFixInt) == 1);
See Implementation
Get serialized data size at runtime. DataSize!() should be preferred if the type is known at compile time.