Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 512 Bytes

File metadata and controls

31 lines (21 loc) · 512 Bytes

Primitives

bool ( )

Arguments: None

Represents a boolean, encoded in one byte.

Example of value: true / false

cstring ( )

Arguments: encoding

Represents a null terminated string. Similar to strings in C. Assumes UTF-8 encoding by default

Example: Example: A string length prefixed by a varint.

[
  "cstring", { "encoding": "utf-16" }
]

Example of value: "my string"

void ( )

Arguments: None

Represents an empty value.

Example of value: undefined / null