Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

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
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #choose #endianness #cpp
ADD COMMENT
Topic
Name
5+4 =