瀏覽代碼

mention that BytesOutput.getBytes should not be called more than once (closes #4544)

Simon Krajewski 9 年之前
父節點
當前提交
31eb3de050
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      std/haxe/io/BytesOutput.hx

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

@@ -122,6 +122,12 @@ class BytesOutput extends Output {
 
 
 	#end
 	#end
 
 
+	/**
+		Returns the `Bytes` of this output.
+
+		This function should not be called more than once on a given
+		`BytesOutput` instance.
+	**/
 	public function getBytes() : Bytes {
 	public function getBytes() : Bytes {
 		#if flash
 		#if flash
 		var bytes = b;
 		var bytes = b;