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
_in: *const u8
Beginning of the input buffer. This may be NULL if and only if in_pos is equal to in_size.
in_pos: size_t
Current position in the input buffer. This must not exceed in_size.
in_size: size_t
Size of the input buffer
out: *mut u8
Beginning of the output buffer. This may be NULL if and only if out_pos is equal to out_size.
out_pos: size_t
Current position in the output buffer. This must not exceed out_size.
out_size: size_t
Size of the output buffer