MCPcopy Create free account
hub / github.com/cwida/ALP / Store

Method Store

publication/source_code/include/chimp/chimp128.hpp:82–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80 static constexpr uint8_t TRAILING_ZERO_THRESHOLD = SignificantBits<CHIMP_TYPE>::size + INDEX_BITS_SIZE;
81
82 static void Store(CHIMP_TYPE in, State& state) {
83 if (state.first) {
84 WriteFirst(in, state);
85 } else {
86 CompressValue(in, state);
87 }
88 }
89
90 //! Write the content of the bit buffer to the stream
91 static void Flush(State& state) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected