MCPcopy Create free account
hub / github.com/Kitware/VTK / WriteEndianOrderMark

Function WriteEndianOrderMark

IO/Core/vtkArrayWriter.cxx:66–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66void 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
73template <typename ValueT>
74bool WriteSparseArrayBinary(const std::string& type_name, vtkArray* array, ostream& stream)

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected