MCPcopy Create free account
hub / github.com/OpenEarable/open-earable / set_buffer

Method set_buffer

src/utils/CircularBlockBuffer.cpp:144–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142}
143
144void CircularBlockBuffer::set_buffer(uint8_t *buffer, int blockSize, int blockCount) {
145 _buffer = buffer;
146 _blockSize = blockSize;
147 _blockCount = blockCount;
148 _totalSize = blockSize * blockCount;
149
150 _external_buffer = true;
151 reset();
152}

Callers 2

setBufferMethod · 0.80
setBufferMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected