wader / fq

jq for binary formats - tool, language and decoders for working with binary and text formats
Other
9.63k stars 221 forks source link

interp: Change bit ranges to use exclusive end #789

Closed wader closed 9 months ago

wader commented 9 months ago

All other ranges and slicing uses exclusive end so i think it make sense to make it consistent.

Update docs and add additional example for non-byte-aligned field.

Also fixes issue showing zero bit ranges as start-NA.