MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / Peek

Method Peek

Kernel/src/streams.cpp:19–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17}
18
19int64_t Stream::Peek(void* buffer, size_t len){
20 assert(!"Stream::Peek called from base class");
21
22 return -1; // We should not return but get the compiler to shut up
23}
24
25int64_t Stream::Empty(){
26 return 1;

Callers 1

ReceiveFromMethod · 0.45

Calls 3

memcpyFunction · 0.85
get_atMethod · 0.80
get_lengthMethod · 0.45

Tested by

no test coverage detected