浏览代码

initialize bigEndian

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.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 {