pub fn new(buffer_size_bytes: u32) -> Self {
        let mut reader = Self {
            buffer: Vec::with_capacity(buffer_size_bytes as usize),
            buffer_offset: 0,
            stable_mem_offset: 0,
            stable_mem: Box::new(StableMemoryImplementation),
        };
        reader.read();
        reader
    }
/// Create a buffered reader with the given buffer size.
Create a buffered reader with the given buffer size.
Create a buffered reader with the given buffer size .
pub fn new(buffer_size_bytes: u32) -> Self {
        let mut reader = Self {
            buffer: Vec::with_capacity(buffer_size_bytes as usize),
            buffer_offset: 0,
            stable_mem_offset: 0,
            stable_mem: Box::new(StableMemoryImplementation),
        };
        reader.read();
        reader
    }
pub fn new ( buffer_size_bytes : u32 ) -> Self { let mut reader = Self { buffer : Vec :: with_capacity ( buffer_size_bytes as usize ) , buffer_offset : 0 , stable_mem_offset : 0 , stable_mem : Box :: new ( StableMemoryImplementation ) , } ; reader . read ( ) ; reader }
Create a buffered reader with the given buffer size.
Create a buffered reader with the given buffer size .
buffer_size_bytes
u32
buffer_size_bytes
u32