#[repr(C)]pub struct fz_buffer {
pub refs: c_int,
pub data: *mut c_uchar,
pub cap: usize,
pub len: usize,
pub unused_bits: c_int,
pub shared: c_int,
}
Expand description
fz_buffer is a wrapper around a dynamically allocated array of bytes.
Buffers have a capacity (the number of bytes storage immediately available) and a current size.
The contents of the structure are considered implementation details and are subject to change. Users should use the accessor functions in preference.
Fields§
§refs: c_int
§data: *mut c_uchar
§cap: usize
§len: usize
§unused_bits: c_int