| 76 | } |
| 77 | |
| 78 | void Reorg::serialize(void* buffer) const noexcept |
| 79 | { |
| 80 | char *d = reinterpret_cast<char*>(buffer), *a = d; |
| 81 | write(d, C); |
| 82 | write(d, H); |
| 83 | write(d, W); |
| 84 | write(d, stride); |
| 85 | PLUGIN_ASSERT(d == a + getSerializationSize()); |
| 86 | } |
| 87 | |
| 88 | bool Reorg::supportsFormat(DataType type, PluginFormat format) const noexcept |
| 89 | { |