That check should be equivalent. The original goes through a pointer deref, but I don't think that should matter.
- How would this endianness check be translated to Nim? xigoi
- How would this endianness check be translated to Nim? PMunch
That check should be equivalent. The original goes through a pointer deref, but I don't think that should matter.