MCPcopy Create free account
hub / github.com/PlotJuggler/PlotJuggler / assignBytes

Method assignBytes

pj_datastore/src/buffer.cpp:112–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112void BitVector::assignBytes(Span<const uint8_t> bytes, std::size_t bit_count) {
113 bytes_.assign(bytes.begin(), bytes.end());
114 bit_count_ = bit_count;
115}
116
117void BitVector::clear() {
118 bytes_.clear();

Callers 1

sealMethod · 0.80

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected