pub fn from_vec(buffer: Vec<u8>) -> MemoryHeap {
        MemoryHeap {
            buffer: buffer
        }
    }
/// Use a pre-populated vector as in-memory heap.
Use a pre-populated vector as in-memory heap.
Use a pre - populated vector as in - memory heap .
pub fn from_vec(buffer: Vec<u8>) -> MemoryHeap {
        MemoryHeap {
            buffer: buffer
        }
    }
pub fn from_vec ( buffer : Vec < u8 > ) -> MemoryHeap { MemoryHeap { buffer : buffer } }
Use a pre-populated vector as in-memory heap.
Use a pre - populated vector as in - memory heap .
buffer
Vec<u8>
buffer
Vec<u8>