MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / getNumBuffers

Function getNumBuffers

Libraries/AsyncStreams/AsyncStreams.h:210–210  ·  view source on GitHub ↗

@brief Gets size of buffers held by the pool

Source from the content-addressed store, hash-verified

208 void setBuffers(Span<AsyncBufferView> newBuffers) { buffers = newBuffers; }
209
210 /// @brief Gets size of buffers held by the pool
211 [[nodiscard]] size_t getNumBuffers() const { return buffers.sizeInElements(); }
212
213 /// @brief Creates a child view that references a slice of the parent buffer

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected