RNS::RawChannelWriter(TPacket)
Provides an IO-like write interface over a Channel.
Chunks outgoing data (up to 16 KiB), optionally compresses via
BZip2, and sends it as StreamDataMessage packets on a given
stream_id. Call #close to send an EOF marker. Generic over
TPacket to match the channel's packet type.
Constants
COMPRESSION_TRIES = 4
MAX_CHUNK_LEN = 1024 * 16
Constructors
Instance methods
readable?
Sourceseekable?
Sourcewritable?
Source