@:value({ available : 0, pos : 0 })new(i:Input, buf:Bytes, pos:Int = 0, available:Int = 0)
available:Int
buf:Bytes
i:Input
pos:Int
refill():Void