BitConverter and Endian-ness #64953
Answered
by
stephentoub
TonyValenti
asked this question in
Q&A
-
Is there a way to specify the endianness of the bytes that you are providing/requesting to/from bitconverter? I am interfacing with a legacy file format and want my code to work without having to flip glob based on the source systems endianness. It would be really nice if there was an enum I could Pass in to specify the format. |
Beta Was this translation helpful? Give feedback.
Answered by
stephentoub
Feb 8, 2022
Replies: 1 comment 2 replies
-
Have you looked at BinaryPrimitives? |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
TonyValenti
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Have you looked at BinaryPrimitives?