Answers for "choose endianness in cpp"

C++
0

choose endianness in cpp

#pragma scalar_storage_order big-endian //to store in big-endian-format
#pragma scalar_storage_order little-endian //to store in little-endian
#pragma scalar_storage_order default //to store it in your machines default endianness
Posted by: Guest on April-30-2021

Browse Popular Code Answers by Language