(
bufman: &BufferManager,
FileOffset(offset): FileOffset,
)
| 88 | } |
| 89 | |
| 90 | fn deserialize( |
| 91 | bufman: &BufferManager, |
| 92 | FileOffset(offset): FileOffset, |
| 93 | ) -> Result<Self, BufIoError> |
| 94 | where |
| 95 | Self: Sized, |
| 96 | { |
| 97 | let cursor = bufman.open_cursor()?; |
| 98 | bufman.seek_with_cursor(cursor, offset as u64)?; |
| 99 | let res = bufman.read_u16_with_cursor(cursor)?; |
| 100 | bufman.close_cursor(cursor)?; |
| 101 | Ok(res) |
| 102 | } |
| 103 | } |
| 104 | |
| 105 | impl SimpleSerialize for InternalId { |
nothing calls this directly
no test coverage detected