Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Nulls

The opcode 0x8E indicates an untyped null (that is: null, or its alias null.null).

The opcode 0x8F indicates a typed null; a byte follows whose value represents an offset into the following table:

ByteType
0x01null.bool
0x02null.int
0x03null.float
0x04null.decimal
0x05null.timestamp
0x06null.string
0x07null.symbol
0x08null.blob
0x09null.clob
0x0Anull.list
0x0Bnull.sexp
0x0Cnull.struct

All other byte values are reserved for future use.

Encoding of null

┌──── The opcode `0x8E` represents a null (null.null)
8E

Encoding of null.string

┌──── The opcode `0x8F` indicates a typed null; a byte indicating the type follows
│  ┌──── Byte 0x06 indicates the type `string`
8F 06