MCPcopy Create free account
hub / github.com/Phobos-developers/Phobos / WriteBlockToStream

Method WriteBlockToStream

src/Utilities/Stream.cpp:76–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76bool PhobosByteStream::WriteBlockToStream(IStream* pStm) const
77{
78 ULONG out = 0;
79 const size_t Length = this->Data.size();
80
81 if (SUCCEEDED(pStm->Write(&Length, sizeof(Length), &out)))
82 return this->WriteToStream(pStm);
83
84 return false;
85}
86
87bool PhobosStreamReader::RegisterChange(void* newPtr)
88{

Callers 5

ProcessMethod · 0.80
SaveKeyMethod · 0.80
Body.cppFile · 0.80
Body.cppFile · 0.80
Body.cppFile · 0.80

Calls 3

WriteToStreamMethod · 0.95
sizeMethod · 0.45
WriteMethod · 0.45

Tested by

no test coverage detected