/// Creates a new writer that will serialize items to the object accessible via |object_handle|
/// (which provdes a write interface to the object).
Creates a new writer that will serialize items to the object accessible via |object_handle|
(which provdes a write interface to the object).
Creates a new writer that will serialize items to the object accessible via |object_handle| ( which provdes a write interface to the object ) .
pub fn new(object_handle: &'a dyn ObjectHandle, block_size: u32) -> Self {
        SimplePersistentLayerWriter {
            block_size,
            buf: vec![0; 2],
            object_handle,
            item_count: 0,
            offset: 0,
        }
    }
pub fn new ( object_handle : & ' a dyn ObjectHandle , block_size : u32 ) -> Self { SimplePersistentLayerWriter { block_size , buf : vec ! [ 0 2 ] , object_handle , item_count : 0 , offset : 0 , } }
Creates a new writer that will serialize items to the object accessible via |object_handle|
(which provdes a write interface to the object).
Creates a new writer that will serialize items to the object accessible via |object_handle| ( which provdes a write interface to the object ) .
object_handle
&'a dyn ObjectHandle
block_size
u32