MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / write_magic

Function write_magic

include/libnpy/npy.hpp:109–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107};
108
109inline void write_magic(std::ostream &ostream, version_t version) {
110 ostream.write(magic_string, magic_string_length);
111 ostream.put(version.first);
112 ostream.put(version.second);
113}
114
115inline version_t read_magic(std::istream &istream) {
116 char buf[magic_string_length + 2];

Callers 1

write_headerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected