| 202 | } |
| 203 | |
| 204 | bool ImageBlock::serialize(HalFile& file) { |
| 205 | serialization::writeString(file, imagePath); |
| 206 | serialization::writePod(file, width); |
| 207 | serialization::writePod(file, height); |
| 208 | return true; |
| 209 | } |
| 210 | |
| 211 | std::unique_ptr<ImageBlock> ImageBlock::deserialize(HalFile& file) { |
| 212 | std::string path; |
nothing calls this directly
no test coverage detected