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
This would create a 16 bit ctype structure with 4 fields of bits 3,1,1,11.
Trying to stream data from an embedded device and then decode it in a browser.
The text was updated successfully, but these errors were encountered:
Yeah, this would be cool to have. Some way to pack & read data by bit. I've got a single-bit access helper at https://github.com/kig/bitview.js, but it doesn't do "treat these 3 bits as the LSBs of an uint".
Not sure how I would do this with the DataStream object.
In python / C I would do something like
This would create a 16 bit ctype structure with 4 fields of bits 3,1,1,11.
Trying to stream data from an embedded device and then decode it in a browser.
The text was updated successfully, but these errors were encountered: