Available on hl
new(h:HandleData)
listen(n:Int, onConnect:() ‑> Void):Void
readStart(onData:Bytes ‑> Void):Void
readStartRaw(onData:(Bytes, Int) ‑> Void):Void
readStop():Void
@:value({ len : -1, pos : 0 })write(bytes:Bytes, ?onWrite:Bool ‑> Void, pos:Int = 0, len:Int = -1):Void
handle:HandleData
close(?callb:() ‑> Void):Void