bitstruct
bitstruct copied to clipboard
byteinvert function
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
Any thoughts on this feature?
Sorry, forgot about it. Shouldn't it be called reverse instead of invert? And why doesn't the function return anything?
Because I'm not very clever and didn't even add a test until just now. Thank you for your patience.