| 118 | } |
| 119 | |
| 120 | static Bytes getBlock( |
| 121 | const std::shared_ptr<SectorInterface>& sectors, int block, int length) |
| 122 | { |
| 123 | Bytes bytes; |
| 124 | ByteWriter bw(bytes); |
| 125 | |
| 126 | for (int i = 0; i < (length + 127) / 128; i++) |
| 127 | { |
| 128 | auto sector = sectors->get(block, 0, i); |
| 129 | bw.append(sector->data); |
| 130 | } |
| 131 | |
| 132 | return bytes; |
| 133 | } |
| 134 | |
| 135 | static void testPartialExtent() |
| 136 | { |
no test coverage detected