소스 검색

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 {