소스 검색

added prepare

Nicolas Cannasse 19 년 전
부모
커밋
94ee3a29c5
1개의 변경된 파일9개의 추가작업 그리고 0개의 파일을 삭제
  1. 9 0
      std/neko/io/Output.hx

+ 9 - 0
std/neko/io/Output.hx

@@ -89,4 +89,13 @@ class Output {
 			writeUInt16(x);
 	}
 
+	/**
+		Inform that we are about to write at least a specified number of bytes.
+		The underlying implementation can allocate proper working space depending
+		on this information, or simply ignore it. This is not a mandatory call
+		but a tip and is only used in some specific cases.
+	**/
+	public function prepare( nbytes : Int ) {
+	}
+
 }