pub fn new(channel: ReliableChannel, max_chunk_len: u16) -> Self {
        CompressedBincodeChannel {
            channel,
            max_chunk_len,
            send_chunk: Vec::new(),
            write_buffer: Vec::new(),
            write_pos: 0,
            read_buffer: Vec::new(),
            read_pos: 0,
            recv_chunk: Vec::new(),
            recv_pos: 0,
            encoder: SnapEncoder::new(),
            decoder: SnapDecoder::new(),
        }
    }
/// The `max_chunk_len` parameter describes the maximum buffer size of a combined message block
/// before it is automatically sent.
///
/// An individual message may be no more than `max_chunk_len` in length.
The `max_chunk_len` parameter describes the maximum buffer size of a combined message block
before it is automatically sent.

An individual message may be no more than `max_chunk_len` in length.
The ` max_chunk_len ` parameter describes the maximum buffer size of a combined message block before it is automatically sent . An individual message may be no more than ` max_chunk_len ` in length .
pub fn new(channel: ReliableChannel, max_chunk_len: u16) -> Self {
        CompressedBincodeChannel {
            channel,
            max_chunk_len,
            send_chunk: Vec::new(),
            write_buffer: Vec::new(),
            write_pos: 0,
            read_buffer: Vec::new(),
            read_pos: 0,
            recv_chunk: Vec::new(),
            recv_pos: 0,
            encoder: SnapEncoder::new(),
            decoder: SnapDecoder::new(),
        }
    }
pub fn new ( channel : ReliableChannel , max_chunk_len : u16 ) -> Self { CompressedBincodeChannel { channel , max_chunk_len , send_chunk : Vec :: new ( ) , write_buffer : Vec :: new ( ) , write_pos : 0 , read_buffer : Vec :: new ( ) , read_pos : 0 , recv_chunk : Vec :: new ( ) , recv_pos : 0 , encoder : SnapEncoder :: new ( ) , decoder : SnapDecoder :: new ( ) , } }
The `max_chunk_len` parameter describes the maximum buffer size of a combined message block
before it is automatically sent.
The ` max_chunk_len ` parameter describes the maximum buffer size of a combined message block before it is automatically sent .
channel
ReliableChannel
max_chunk_len
u16
channel
ReliableChannel
max_chunk_len
u16