pub unsafe extern "C" fn rb_available_to_write(
    buffer: *mut ring_buffer
) -> c_int
Expand description

get the number of bytes that can currently be written this is safe to call from any thread