MCPcopy Create free account
hub / github.com/SmingHub/Sming / read

Method read

Sming/Core/Data/Stream/DataSourceStream.cpp:13–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11#include "DataSourceStream.h"
12
13int IDataSourceStream::read()
14{
15 int res = peek();
16 if(res != -1) {
17 seek(1);
18 }
19
20 return res;
21}
22
23int IDataSourceStream::peek()
24{

Callers 1

processMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected