Struct xz_embedded_sys::xz_buf [] [src]

#[repr(C)]
pub struct xz_buf { pub _in: *const u8, pub in_pos: size_t, pub in_size: size_t, pub out: *mut u8, pub out_pos: size_t, pub out_size: size_t, }

Passing input and output buffers to XZ code

Fields

Beginning of the input buffer. This may be NULL if and only if in_pos is equal to in_size.

Current position in the input buffer. This must not exceed in_size.

Size of the input buffer

Beginning of the output buffer. This may be NULL if and only if out_pos is equal to out_size.

Current position in the output buffer. This must not exceed out_size.

Size of the output buffer