Open dsheets opened 11 years ago
Support for Big Endian, Little Endian, and Host Endian layouts would bring ctypes into feature parity on primitive types with cstruct.
Is there currently endianness support somehow?
Could this be implemented using views that wrap htons, ntohs, etc.?
htons
ntohs
I don't think those functions are enough -- there is no explicit support for little endian afaik.
Support for Big Endian, Little Endian, and Host Endian layouts would bring ctypes into feature parity on primitive types with cstruct.
Is there currently endianness support somehow?