MCPcopy Create free account
hub / github.com/Ralim/usb-pd / getFree

Method getFree

include/ringbuffer.h:49–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47 }
48
49 size_t getFree() const { return size - getOccupied(); }
50 // Clear the entire buffer
51 void flush() {
52 wrap = false;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected