martinlindhe / feng

Binary file format template system

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unaligned bitstream

martinlindhe opened this issue · comments

Some formats require unaligned bit access. This is currently not supported in feng.

needed by archive/bzip2, image/bpg

TODO:

  • implement "u1" (1 bit), "u4" (4 bits), "u12" (12 bits) data types
  • rework internals to use golang bitreader