#[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,
}Expand description
Passing input and output buffers to XZ code
Fields§
§_in: *const u8Beginning of the input buffer. This may be NULL if and only if in_pos is equal to in_size.
in_pos: size_tCurrent position in the input buffer. This must not exceed in_size.
in_size: size_tSize of the input buffer
out: *mut u8Beginning of the output buffer. This may be NULL if and only if out_pos is equal to out_size.
out_pos: size_tCurrent position in the output buffer. This must not exceed out_size.
out_size: size_tSize of the output buffer
Auto Trait Implementations§
impl Freeze for xz_buf
impl RefUnwindSafe for xz_buf
impl !Send for xz_buf
impl !Sync for xz_buf
impl Unpin for xz_buf
impl UnwindSafe for xz_buf
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more