2
0
Nicolas Cannasse 19 жил өмнө
parent
commit
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 ) {
+	}
+
 }