pub unsafe extern "C" fn aws_ring_buffer_buf_belongs_to_pool(
ring_buffer: *const aws_ring_buffer,
buf: *const aws_byte_buf
) -> bool
Expand description
Returns true if the memory in buf
was vended by this ring buffer, false otherwise.
Make sure buf->buffer
and ring_buffer->allocation
refer to the same memory region.