Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davidgiven/fluxengine
/ main
Function
main
tests/bitaccumulator.cc:5–17 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
3
#include <assert.h>
4
5
int main(int argc, const char* argv[])
6
{
7
Bytes bytes;
8
ByteWriter bw(bytes);
9
BitWriter bitw(bw);
10
11
bitw.push(0x1e, 5);
12
bitw.flush();
13
14
assert(bytes == Bytes{0x1e});
15
16
return 0;
17
}
Callers
nothing calls this directly
Calls
2
flush
Method · 0.80
push
Method · 0.45
Tested by
no test coverage detected