Simon Krajewski 11 роки тому
батько
коміт
d02d56a222
2 змінених файлів з 2 додано та 0 видалено
  1. 1 0
      std/haxe/io/BytesInput.hx
  2. 1 0
      std/haxe/io/BytesOutput.hx

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

@@ -55,6 +55,7 @@ class BytesInput extends Input {
 		this.len = len;
 		this.len = len;
 		this.totlen = len;
 		this.totlen = len;
 		#end
 		#end
+		bigEndian = false;
 	}
 	}
 
 
 	inline function get_position() : Int {
 	inline function get_position() : Int {

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

@@ -39,6 +39,7 @@ class BytesOutput extends Output {
 		#else
 		#else
 		b = new BytesBuffer();
 		b = new BytesBuffer();
 		#end
 		#end
+		bigEndian = false;
 	}
 	}
 
 
 	inline function get_length() : Int {
 	inline function get_length() : Int {