MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / Peek

Method Peek

Source/FileStream.cpp:209–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207}
208
209void FileStreamIn::Peek(void* buffer, int size)
210{
211 auto pos = mStream->getPosition();
212 mStream->read(buffer, size);
213 mStream->setPosition(pos);
214}
215
216bool FileStreamIn::Eof() const
217{

Callers 2

LoadStateMethod · 0.80

Calls 1

getPositionMethod · 0.80

Tested by

no test coverage detected