MCPcopy 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
5int 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

flushMethod · 0.80
pushMethod · 0.45

Tested by

no test coverage detected