Endianess problem

BlitzMax Forums/BlitzMax Programming/Endianess problem

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 :)