Skip to main content

read_bin

Function read_bin 

Source
pub fn read_bin<T>(
    reader: &mut (impl Read + Seek),
) -> Result<Matrix<T>, ReadBinError>
where T: Pod,
Expand description

Read a matrix of T from the DiskANN binary format (see module docs).

Validates that the reader contains enough data before allocating.