The OpenD Programming Language

MessagePackFmt

MessagePack support

Values

ValueMeaning
fixint0x00

7-bit positive integer

fixnint0xe0

5-bit negative integer (???)

uint80xcc

8-bit unsigned integer

uint160xcd

16-bit unsigned integer

uint320xce

32-bit unsigned integer

uint640xcf

64-bit unsigned integer

int80xd0

8-bit signed integer

int160xd1

16-bit signed integer

int320xd2

32-bit signed integer

int640xd3

64-bit signed integer

fixmap0x80

Map with a maximum length of 15 key-value pairs

map160xde

Map with a maximum length of 65535 key-value pairs

map320xdf

Map with a maximum length of 4294967295 key-value pairs

fixarray0x90

Array with a maximum length of 15 elements

array160xdc

Array with a maximum length of 65535 elements

array320xdd

Array with a maximum length of 4294967295 elements

fixstr0xa0

String with a maximum length of 31 bytes

str80xd9

String with a maximum length of 255 (1 << 8 - 1) bytes

str160xda

String with a maximum length of 65535 (1 << 16 - 1) bytes

str320xdb

String with a maximum length of 4294967295 (1 << 32 - 1) bytes

nil0xc0

Nil

false_0xc2

Boolean values

true_0xc3
bin80xc4

Byte array with a maximum length of 255 bytes

bin160xc5

Byte array with a maximum length of 65535 bytes

bin320xc6

Byte array with a maximum length of 4294967295 bytes

fixext10xd4

Integer & byte array whose length is 1 byte

fixext20xd5

Integer & byte array whose length is 2 bytes

fixext40xd6

Integer & byte array whose length is 4 bytes

fixext80xd7

Integer & byte array whose length is 8 bytes

fixext160xd8

Integer & byte array whose length is 16 bytes

ext80xc7

Integer & byte array whose maximum length is 255 bytes

ext160xc8

Integer & byte array whose maximum length is 65535 bytes

ext320xc9

Integer & byte array whose maximum length is 4294967295 bytes

float320xca

Single-precision IEEE 754 floating point number

float640xcb

Double-precision IEEE 754 floating point number

Meta