Nicolas Cannasse 18 vuotta sitten
vanhempi
commit
c427add31b
1 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  1. 4 0
      std/neko/net/SocketBufferedOutput.hx

+ 4 - 0
std/neko/net/SocketBufferedOutput.hx

@@ -39,6 +39,10 @@ class SocketBufferedOutput extends neko.io.Output {
 		bytes = 0;
 	}
 
+	public function reset() {
+		bytes = 0;
+	}
+
 	public function writable() {
 		return bytes == 0;
 	}