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

Method Read

Kernel/src/streams.cpp:7–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5#include <timer.h>
6
7int64_t Stream::Read(void* buffer, size_t len){
8 assert(!"Stream::Read called from base class");
9
10 return -1; // We should not return but get the compiler to shut up
11}
12
13int64_t Stream::Write(void* buffer, size_t len){
14 assert(!"Stream::Write called from base class");

Callers

nothing calls this directly

Calls 4

memcpyFunction · 0.85
kfreeFunction · 0.85
get_lengthMethod · 0.45
remove_atMethod · 0.45

Tested by

no test coverage detected