Function formatType
Serialize a value to a certain type.
void formatType(MsgpackType type)
(
typeof(null) value,
ref ubyte[DataSize!type] data
)
if (type == MsgpackType .nil);
void formatType(MsgpackType type)
(
ref ubyte[DataSize!type] data
)
if (type == MsgpackType .nil);
void formatType(MsgpackType type)
(
bool value,
ref ubyte[DataSize!type] data
)
if (type == MsgpackType .false8);
void formatType(MsgpackType type)
(
ref ubyte[DataSize!type] data
)
if (type == MsgpackType .false8);
void formatType(MsgpackType type)
(
bool value,
ref ubyte[DataSize!type] data
)
if (type == MsgpackType .true8);
void formatType(MsgpackType type)
(
ref ubyte[DataSize!type] data
)
if (type == MsgpackType .true8);
void formatType(MsgpackType type)
(
ubyte value,
ref ubyte[DataSize!type] data
)
if (type == MsgpackType .posFixInt);
void formatType(MsgpackType type)
(
byte value,
ref ubyte[DataSize!type] data
)
if (type == MsgpackType .negFixInt);
void formatType(MsgpackType type)
(
ubyte value,
ref ubyte[DataSize!type] data
)
if (type == MsgpackType .uint8);
void formatType(MsgpackType type)
(
ushort value,
ref ubyte[DataSize!type] data
)
if (type == MsgpackType .uint16);
void formatType(MsgpackType type)
(
uint value,
ref ubyte[DataSize!type] data
)
if (type == MsgpackType .uint32);
void formatType(MsgpackType type)
(
ulong value,
ref ubyte[DataSize!type] data
)
if (type == MsgpackType .uint64);
void formatType(MsgpackType type)
(
byte value,
ref ubyte[DataSize!type] data
)
if (type == MsgpackType .int8);
void formatType(MsgpackType type)
(
short value,
ref ubyte[DataSize!type] data
)
if (type == MsgpackType .int16);
void formatType(MsgpackType type)
(
int value,
ref ubyte[DataSize!type] data
)
if (type == MsgpackType .int32);
void formatType(MsgpackType type)
(
long value,
ref ubyte[DataSize!type] data
)
if (type == MsgpackType .int64);
void formatType(MsgpackType type)
(
float value,
ref ubyte[DataSize!type] data
)
if (type == MsgpackType .float32);
void formatType(MsgpackType type)
(
double value,
ref ubyte[DataSize!type] data
)
if (type == MsgpackType .float64);
void formatType(MsgpackType type)
(
ubyte length,
ref ubyte[DataSize!type] data
)
if (type == MsgpackType .fixStr);
void formatType(MsgpackType type)
(
ubyte length,
ref ubyte[DataSize!type] data
)
if (type == MsgpackType .str8);
void formatType(MsgpackType type)
(
ushort length,
ref ubyte[DataSize!type] data
)
if (type == MsgpackType .str16);
void formatType(MsgpackType type)
(
uint length,
ref ubyte[DataSize!type] data
)
if (type == MsgpackType .str32);
void formatType(MsgpackType type)
(
ubyte length,
ref ubyte[DataSize!type] data
)
if (type == MsgpackType .bin8);
void formatType(MsgpackType type)
(
ushort length,
ref ubyte[DataSize!type] data
)
if (type == MsgpackType .bin16);
void formatType(MsgpackType type)
(
uint length,
ref ubyte[DataSize!type] data
)
if (type == MsgpackType .bin32);
void formatType(MsgpackType type)
(
ubyte length,
ref ubyte[DataSize!type] data
)
if (type == MsgpackType .fixArray);
void formatType(MsgpackType type)
(
ushort length,
ref ubyte[DataSize!type] data
)
if (type == MsgpackType .array16);
void formatType(MsgpackType type)
(
uint length,
ref ubyte[DataSize!type] data
)
if (type == MsgpackType .array32);
void formatType(MsgpackType type)
(
ubyte length,
ref ubyte[DataSize!type] data
)
if (type == MsgpackType .fixMap);
void formatType(MsgpackType type)
(
ushort length,
ref ubyte[DataSize!type] data
)
if (type == MsgpackType .map16);
void formatType(MsgpackType type)
(
uint length,
ref ubyte[DataSize!type] data
)
if (type == MsgpackType .map32);
void formatType(MsgpackType type)
(
ubyte extType,
ref ubyte[1] value,
ref ubyte[DataSize!type] data
)
if (type == MsgpackType .fixExt1);
void formatType(MsgpackType type)
(
ubyte extType,
ref ubyte[2] value,
ref ubyte[DataSize!type] data
)
if (type == MsgpackType .fixExt2);
void formatType(MsgpackType type)
(
ubyte extType,
ref ubyte[4] value,
ref ubyte[DataSize!type] data
)
if (type == MsgpackType .fixExt4);
void formatType(MsgpackType type)
(
ubyte extType,
ref ubyte[8] value,
ref ubyte[DataSize!type] data
)
if (type == MsgpackType .fixExt8);
void formatType(MsgpackType type)
(
ubyte extType,
ref ubyte[16] value,
ref ubyte[DataSize!type] data
)
if (type == MsgpackType .fixExt16);
void formatType(MsgpackType type)
(
ubyte length,
ubyte extType,
ref ubyte[DataSize!type] data
)
if (type == MsgpackType .ext8);
void formatType(MsgpackType type)
(
ushort length,
ubyte extType,
ref ubyte[DataSize!type] data
)
if (type == MsgpackType .ext16);
void formatType(MsgpackType type)
(
uint length,
ubyte extType,
ref ubyte[DataSize!type] data
)
if (type == MsgpackType .ext32);