Function mupdf_sys::fz_clear_buffer

source ·
pub unsafe extern "C" fn fz_clear_buffer(
    ctx: *mut fz_context,
    buf: *mut fz_buffer
)
Expand description

Empties the buffer. Storage is not freed, but is held ready to be reused as the buffer is refilled.

Never throws exceptions.