| 111 | } |
| 112 | |
| 113 | static void setBlock( |
| 114 | const std::shared_ptr<SectorInterface>& sectors, int block, Bytes data) |
| 115 | { |
| 116 | for (int i = 0; i < 8; i++) |
| 117 | sectors->put(block, 0, i)->data = data.slice(i * 256, 256); |
| 118 | } |
| 119 | |
| 120 | static Bytes getBlock( |
| 121 | const std::shared_ptr<SectorInterface>& sectors, int block, int length) |
no test coverage detected