Skip to content

byteinvert function#38

Open
keegandent wants to merge 2 commits intoeerimoq:masterfrom
keegandent:master
Open

byteinvert function#38
keegandent wants to merge 2 commits intoeerimoq:masterfrom
keegandent:master

Conversation

@keegandent
Copy link

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
Copy link
Author

Any thoughts on this feature?

@eerimoq
Copy link
Owner

eerimoq commented Mar 1, 2024

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

@keegandent
Copy link
Author

keegandent commented Apr 18, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants