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

Method getWritePointer

src/utils/CircularBlockBuffer.cpp:68–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68uint8_t * const CircularBlockBuffer::getWritePointer(int n) {
69 return &(_buffer[positiveOffset(_writeBlock, n) * _blockSize]);
70}
71
72uint8_t * const CircularBlockBuffer::getReadPointer(int n) {
73 return &(_buffer[positiveOffset(_readBlock, n) * _blockSize]);

Callers 6

beginMethod · 0.80
IrqHandlerMethod · 0.80
provideMethod · 0.80
preload_bufferMethod · 0.80
sd_to_bufferMethod · 0.80
updateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected