bip_buffer_with_len

Function bip_buffer_with_len 

Source
pub fn bip_buffer_with_len(len: usize) -> (BipBufferWriter, BipBufferReader)
Expand description

Creates a new BipBufferWriter/BipBufferReader pair using a Vec of the specified length as underlying storage.

BipBufferWriter and BipBufferReader represent the send and receive side of the single-producer single-consumer queue respectively.