Nicolas Cannasse %!s(int64=18) %!d(string=hai) anos
pai
achega
c427add31b
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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;
 	}