Thanks, I'll check it out. On Wed, Mar 20, 2019 at 2:23 AM Ian Denhardt <i...@zenhack.net> wrote:
> This might be more directly what you're after: > > https://kaitai.io/ > > Though disclaimer, I haven't used it myself. > > Quoting Wojciech S. Czarnecki (2019-03-19 20:25:08) > > On Mon, 18 Mar 2019 09:59:59 -0700 (PDT) > > R Srinivasan <s...@srin.me> wrote: > > > > > my intial attempts to define the data structures have hit a roadblock - > > > support for data types such as uint16, int16, uint8, int8. Is this an > > > inherent protobuf limitation or am i overlooking something. > > > > Yep. Protobuf is an exchange format of its own. > > > > https://github.com/google/flatbuffers should give you more flexibility. > > If your binary is tightly packed it will not be effortless, but doable. > > > > If you need to support bitfields you may also look at the 'bitpeek' > > simple parser code for inspiration: > > > > https://github.com/ohir/bitpeek > > > > Hope this helps, > > > > > > -- > > Wojciech S. Czarnecki > > << ^oo^ >> OHIR-RIPE > > > > -- > > You received this message because you are subscribed to the Google > Groups "golang-nuts" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to golang-nuts+unsubscr...@googlegroups.com. > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.