Data Types

byte

Supported By

Descriptors

Description

The byte data type is a chunk type of binary that represents a single byte or range of bytes.

Notes

The chunks of a binary are numbered starting at zero. This is one of the very few instances of zero-based indexing in XION, as most indexes start at 1.

Accessing a byte chunk that is out of range returns empty. Modifying a byte chunk that is out of range inserts as many zero bytes as necessary to insert data at the appropriate offset in the parent binary.