KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Im trying to cast a 4 byte array to an ulong in C#. I'm currently using this code: atomSize = BitConverter.ToUInt32(buffer, 0); The byte[4] contains this: 0 0 0 32 However, the bytes are Big-Endian. Is there a simple way to convert this Big-Endian ulong to a Little-Endian ulong?
Tags (comma-separated)
Save Edits
Cancel