pub fn save_block_buffer( block: TensorBlockRef<'_>, buffer: &mut Vec<u8>, ) -> Result<(), Error>
Save the given block to an in-memory buffer.
block
buffer
This function will grow the buffer as required to fit the data.