Browse Source

initialize bigEndian

Simon Krajewski 11 years ago
parent
commit
d02d56a222
2 changed files with 2 additions and 0 deletions
  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.totlen = len;
 		#end
+		bigEndian = false;
 	}
 
 	inline function get_position() : Int {

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

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