Read data from a slot.
(&self, slot_idx: u32, len: usize)
| 87 | |
| 88 | /// Read data from a slot. |
| 89 | fn get(&self, slot_idx: u32, len: usize) -> &[u8] { |
| 90 | let offset = slot_idx as usize * self.slot_size; |
| 91 | &self.buf[offset..offset + len] |
| 92 | } |
| 93 | |
| 94 | /// Total memory consumed by this tier (backing buffer). |
| 95 | fn capacity_bytes(&self) -> usize { |
nothing calls this directly
no test coverage detected