소스 검색

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