BeeSchema icon indicating copy to clipboard operation
BeeSchema copied to clipboard

Length-prefixed arrays

Open Michael-K-GH opened this issue 9 years ago • 0 comments
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];

Michael-K-GH avatar Jun 22 '16 16:06 Michael-K-GH