wc-duck / datalibrary

Open Source Data Library for data serialization.
Other
42 stars 8 forks source link

add support for binary format for all int-types #126

Closed wc-duck closed 4 years ago

wc-duck commented 5 years ago

All int-types (int8-64, uint8-64, bitfields and enums) should parse from binary int this form b100101. This would mostly be useful when defining enums.

wc-duck commented 5 years ago

@lundmark would this be useful for you?

lundmark commented 5 years ago

This would be very helpful, not quite as helpful as the bitshift functionality, but almost!

wc-duck commented 5 years ago

I can see that, just thought this was an easy first step.