Forest::Cell::Reader
Inherits IO::Buffered / IO / Reference / Object
Constructors
new(io : Channel(Frame), flowControl : FlowControl)
SourceInstance methods
closed?
Returns true if this IO is closed.
IO defines returns false, but including types may override.
flowControl
SourceflowControl=(flowControl : FlowControl)
Sourceio
Sourceio=(io : Channel(Frame))
Sourcemutex
Sourcemutex=(mutex : Mutex)
Sourcereceive
Sourceunbuffered_read(slice : Bytes) : Int32
Reads at most slice.size bytes from the wrapped IO into slice.
Returns the number of bytes read.
TODO: Add return type restriction Int32
unbuffered_write(slice : Bytes) : Int64
Writes slice entirely into the wrapped IO.
TODO: Add return type restriction Nil
window_size_increment(stream_identifier : Int32)
SourcewindowRemaining
SourcewindowRemaining=(windowRemaining : Atomic(Int32))
Sourcewriter
Sourcewriter=(value : Writer)
Sourcezero_window_remaining?
Source