BeeSchema
BeeSchema copied to clipboard
Length-prefixed arrays
trafficstars
Implement a way to define arrays that are prefixed with their length instead of having to define 2 separate variables. Proposed syntax includes defining the length type inside the array length specifier:
# The following declaration should instruct BeeSchema to first read a byte,
# then use that as the length of the array
array_of_ints : Int[Byte];