(&self)
| 327 | } |
| 328 | |
| 329 | pub fn serialize(&self) -> Result<(), BufIoError> { |
| 330 | let cursor = self.cache.dim_bufman.open_cursor()?; |
| 331 | self.root |
| 332 | .serialize(&self.cache.dim_bufman, &self.cache.data_bufmans, cursor)?; |
| 333 | self.cache.dim_bufman.close_cursor(cursor)?; |
| 334 | Ok(()) |
| 335 | } |
| 336 | |
| 337 | pub fn deserialize(root_path: PathBuf, quantization_bits: u8) -> Result<Self, BufIoError> { |
| 338 | let dim_file = OpenOptions::new() |
nothing calls this directly
no test coverage detected