Endianess problem

BlitzMax Forums/BlitzMax Programming/Endianess problem

ozak(Posted 2006) [#1]
I can't seem to get littleendian:: to work
If I add littleendian to OpenStream and WriteStream they both return null.
If I omit littleendian everything works.

Anyone? (This is on windows, but it's the same om OS X. Well almost. On OS X i hangs when trying to load a file of wrong endianess :)


FlameDuck(Posted 2006) [#2]
For streams, use BigEndianStream/LittleEndianStream


ozak(Posted 2006) [#3]
Ok. It's just that it used to work in 1.12 :)


FlameDuck(Posted 2006) [#4]
I wouldn't know. Never needed to use it.


ozak(Posted 2006) [#5]
Works great with the endian stream thingie. It was just nicer to be able to specify the endianess in the URL :)