1
1
mirror of https://github.com/wader/fq.git synced 2024-10-04 15:38:17 +03:00
fq/pkg
Mattias Wadman 7c5215347d bitio,decode: Refactor bitio usage and make buffer slicing more correct
Remove bitio.Buffer layer. bitio.Buffer was a kitchen sink layer with helpers
now it's just a buffer and most functions have been moved to decode instead.

bitio package now only have primitive types and functions simialar to standard
library io and bytes packages.

Make nearly eveything internally use bitio.Bit* interfaces so that slicing work
correctly this will also make it possible to start experimenting with more
complicated silcing helpers, ex things like:
breplace(.header.bitrate; 123) to get a new buffer with bitrate changed.
2022-02-04 21:41:53 +01:00
..
bitio bitio,decode: Refactor bitio usage and make buffer slicing more correct 2022-02-04 21:41:53 +01:00
checksum crc: Unbreak build on 32-bit arch 2021-12-25 15:47:54 +01:00
cli interp: Add Platform() method to OS interface 2022-01-29 11:31:36 +01:00
decode bitio,decode: Refactor bitio usage and make buffer slicing more correct 2022-02-04 21:41:53 +01:00
fqtest interp: Add Platform() method to OS interface 2022-01-29 11:31:36 +01:00
interp bitio,decode: Refactor bitio usage and make buffer slicing more correct 2022-02-04 21:41:53 +01:00
ranges decode,interp: Refactor to allow decode/fillgap a range 2021-10-19 14:38:11 +02:00
registry registry: Move to pkg/registry, feels better 2021-11-18 01:22:21 +01:00
scalar bitio,decode: Refactor bitio usage and make buffer slicing more correct 2022-02-04 21:41:53 +01:00