MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / write

Method write

src/streams.h:528–534  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

526 }
527
528 void write(const char* pch, size_t nSize)
529 {
530 if (!file)
531 throw std::ios_base::failure("CAutoFile::write: file handle is nullptr");
532 if (fwrite(pch, 1, nSize, file) != nSize)
533 throw std::ios_base::failure("CAutoFile::write: write failed");
534 }
535
536 template<typename T>
537 CAutoFile& operator<<(const T& obj)

Callers 2

writeMethod · 0.45
SerializeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected