Browse Source

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

Simon Krajewski 9 years ago
parent
commit
31eb3de050
1 changed files with 6 additions and 0 deletions
  1. 6 0
      std/haxe/io/BytesOutput.hx

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

@@ -122,6 +122,12 @@ class BytesOutput extends Output {
 
 	#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 {
 		#if flash
 		var bytes = b;