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

[js] initially grow BytesBuffer

Simon Krajewski 8 жил өмнө
parent
commit
ab34ef9b13

+ 1 - 0
std/js/_std/haxe/io/BytesBuffer.hx

@@ -34,6 +34,7 @@ class BytesBuffer {
 	public function new() {
 		pos = 0;
 		size = 0;
+		grow(0);
 	}
 
 	inline function get_length() : Int {