| 139 | } |
| 140 | |
| 141 | BufferPtr readOptionalBuffer(std::istream& in, memory::MemoryPool* pool) { |
| 142 | bool hasBuffer = read<bool>(in); |
| 143 | if (hasBuffer) { |
| 144 | return readBuffer(in, pool); |
| 145 | } |
| 146 | |
| 147 | return nullptr; |
| 148 | } |
| 149 | |
| 150 | template <TypeKind kind> |
| 151 | VectorPtr createFlat( |
no test coverage detected