Module graal_io

Source
Expand description

This module contains the definition of Graal IO.

Structs§

GraalReader
A reader that reads Graal-encoded data.
GraalWriter
A writer that writes Graal-encoded data.

Enums§

GraalIoError
Errors that can occur when reading or writing to a GraalReader / GraalWriter.

Constants§

GUINT8_MAX
The maximum values for a one-byte Graal-encoded integer.
GUINT16_MAX
The maximum values for a two-byte Graal-encoded integer.
GUINT24_MAX
The maximum values for a three-byte Graal-encoded integer.
GUINT32_MAX
The maximum values for a four-byte Graal-encoded integer.
GUINT40_MAX
The maximum values for a five-byte Graal-encoded integer. 60332453983 is the theoretical maximum value for a 40-bit integer, but the Graal encoding only supports up to 0xFFFFFFFF in practice.