Skip to main content

fz_clear_buffer

Function 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.