You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With this type, it packs the buttons compound type into 10 bytes instead of the preferable 2 bytes, or even 1.25 (though this would probably be much slower). Could you change this? I didn't see any plans for backwards-compatibility in the spec.
We could implement a 'bit' type in the future that could group multiple fields into a single byte, but this isn't straight forward as it seems at first.
Activity
sitegui commentedon Feb 7, 2018
Hello @leo60228 ,
Currently you can implement this yourself on top of this lib, using a Buffer and them extracting the bits:
We could implement a 'bit' type in the future that could group multiple fields into a single byte, but this isn't straight forward as it seems at first.