bitstruct icon indicating copy to clipboard operation
bitstruct copied to clipboard

byteinvert function

Open keegandent opened this issue 2 years ago • 3 comments

I needed to change bit-endianness of a byte-stream and it took a little while to figure out what seems to be the simplest way to do this. Maybe it could be useful to others? I won't be offended if not.

Thanks,

Keegan

keegandent avatar Dec 13 '23 18:12 keegandent

Any thoughts on this feature?

keegandent avatar Feb 29 '24 22:02 keegandent

Sorry, forgot about it. Shouldn't it be called reverse instead of invert? And why doesn't the function return anything?

eerimoq avatar Mar 01 '24 05:03 eerimoq

Because I'm not very clever and didn't even add a test until just now. Thank you for your patience.

keegandent avatar Apr 18 '24 01:04 keegandent