Function save_block_buffer

Source
pub fn save_block_buffer(
    block: TensorBlockRef<'_>,
    buffer: &mut Vec<u8>,
) -> Result<(), Error>
Expand description

Save the given block to an in-memory buffer.

This function will grow the buffer as required to fit the data.