Suppose I would like to write this on my machine with great enthusiasm
an_ostream_impl my_output_on_BE; my_output_on_BE << __int32(0x1234);
And this is in my little car
an_istream_impl my_input_on_LE; __int32 value; my_input_on_LE >> value; assert( value == 0x1234 );
Is there an istream / ostream implementation that allows this? For instance. which always transfers numbers in Big Endian (or in any format)?
xtofl source share