folly::LockFreeRingBuffer::internalBufferLocation

Returns the address and length of the internal buffer. Unsafe to inspect this region at runtime. And not useful. Useful when using LockFreeRingBuffer to store data which must be retrieved from a core dump after a crash if the given region is added to the list of dumped memory regions.

Synopsis

Declared in <folly/concurrency/container/LockFreeRingBuffer.h>

std::pair<void const*, size_t>
internalBufferLocation() const;

Return Value

A pair of the buffer's base address and its size in bytes.