Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LemonOSProject/LemonOS
/ DataStream
Method
DataStream
Kernel/src/streams.cpp:37–42 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
35
}
36
37
DataStream::DataStream(size_t bufSize){
38
bufferSize = bufSize;
39
bufferPos = 0;
40
41
buffer = reinterpret_cast<uint8_t*>(kmalloc(bufferSize));
42
}
43
44
DataStream::~DataStream(){
45
kfree(buffer);
Callers
nothing calls this directly
Calls
1
kmalloc
Function · 0.85
Tested by
no test coverage detected