Hi,
I want to read and write integer values to a file. The file format specifies the sizes of integer fields in number of bytes. What is the best way to represent 2 and 4 byte integers? I could have u32 and u16 vectors with 1 element, but is there a better way of doing it? How do I handle endian-ness when I read and write to files (using byteports).
-aditya
Afficher les réponses par date