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.