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.