put longInt 12 of steve into bill
put the fifth longInt of steve into bill
The longInt
data type is a chunk type of binary
that represents a 64-bit integer at a particular offset in the parent binary
.
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 longInt
chunk that is out of range returns zero
. Modifying a longInt
chunk that is out of range inserts as many zero bytes as necessary to insert data at the appropriate offset in the parent binary
.
The signedness and endianness of the longInt
are determined by the unsigned
and littleEndian
global properties.