Skip to main content

write_bin

Function write_bin 

Source
pub fn write_bin<T>(
    data: MatrixView<'_, T>,
    writer: &mut impl Write,
) -> Result<usize, SaveBinError>
where T: Pod,
Expand description

Write a matrix of T in the DiskANN binary format (see module docs).

Returns the total number of bytes written.