| 64 | } |
| 65 | |
| 66 | void WriteEndianOrderMark(ostream& stream) |
| 67 | { |
| 68 | // Serialize an endian-order mark ... |
| 69 | constexpr vtkTypeUInt32 endian_order = 0x12345678; |
| 70 | stream.write(reinterpret_cast<const char*>(&endian_order), sizeof(endian_order)); |
| 71 | } |
| 72 | |
| 73 | template <typename ValueT> |
| 74 | bool WriteSparseArrayBinary(const std::string& type_name, vtkArray* array, ostream& stream) |
no test coverage detected