Skip to content

Chunked representations

stuarthalloway edited this page Nov 20, 2012 · 1 revision

Fressian does not write strings or byte arrays longer than 64K. Instead, longer blocks are broken into chunks. The Bytecodes BYTES_CHUNK and STRING_CHUNK indicate an incomplete chunk of data, which must be reassembled with the data that follows it.

The concluding portion of a string or byte array can be distinguished from intermediate chunks, as they begin with the distinct bytecodes BYTES and STRING.

Clone this wiki locally