/// Create a buffered writer with the given buffer size.
Create a buffered writer with the given buffer size.
Create a buffered writer with the given buffer size .
pub fn new(buffer_size_bytes: u32) -> Self {
        Self {
            buffer: vec![0; buffer_size_bytes as usize],
            buffer_offset: 0,
            stable_mem_offset: 0,
            stable_mem: Box::new(StableMemoryImplementation),
        }
    }
pub fn new ( buffer_size_bytes : u32 ) -> Self { Self { buffer : vec ! [ 0 buffer_size_bytes as usize ] , buffer_offset : 0 , stable_mem_offset : 0 , stable_mem : Box :: new ( StableMemoryImplementation ) , } }
Create a buffered writer with the given buffer size.
Create a buffered writer with the given buffer size .
buffer_size_bytes
u32