2
0
Эх сурвалжийг харах

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

Simon Krajewski 9 жил өмнө
parent
commit
31eb3de050

+ 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;