Explorar o código

bugfix : flash default to big endian

Nicolas Cannasse %!s(int64=11) %!d(string=hai) anos
pai
achega
223c91be9a
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      std/haxe/io/BytesBuffer.hx

+ 1 - 0
std/haxe/io/BytesBuffer.hx

@@ -47,6 +47,7 @@ class BytesBuffer {
 		b = untyped StringBuf.__make();
 		#elseif flash9
 		b = new flash.utils.ByteArray();
+		b.endian = flash.utils.Endian.LITTLE_ENDIAN;
 		#elseif php
 		b = "";
 		#elseif cpp