Skip to main content

IDeflateStreamNativeMethods

Trait IDeflateStreamNativeMethods 

Source
pub trait IDeflateStreamNativeMethods: IDeflateStreamNative {
    // Provided methods
    fn ctor(self) { ... }
    fn finalize(self) { ... }
    fn dispose(self, disposing: impl Into<bool>) { ... }
    fn flush(self) { ... }
    fn read_z_stream(
        self,
        buffer: impl Into<IntPtr>,
        length: impl Into<i32>,
    ) -> i32 { ... }
    fn write_z_stream(self, buffer: impl Into<IntPtr>, length: impl Into<i32>) { ... }
    fn unmanaged_read_2(
        self,
        buffer: impl Into<IntPtr>,
        length: impl Into<i32>,
    ) -> i32 { ... }
    fn unmanaged_write_2(
        self,
        buffer: impl Into<IntPtr>,
        length: impl Into<i32>,
    ) -> i32 { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn finalize(self)

Finalize() overload

Source

fn dispose(self, disposing: impl Into<bool>)

Dispose(bool) overload

Source

fn flush(self)

Flush() overload

Source

fn read_z_stream(self, buffer: impl Into<IntPtr>, length: impl Into<i32>) -> i32

ReadZStream(::unity::IntPtr, i32) overload

Source

fn write_z_stream(self, buffer: impl Into<IntPtr>, length: impl Into<i32>)

WriteZStream(::unity::IntPtr, i32) overload

Source

fn unmanaged_read_2( self, buffer: impl Into<IntPtr>, length: impl Into<i32>, ) -> i32

UnmanagedRead(::unity::IntPtr, i32) overload

Source

fn unmanaged_write_2( self, buffer: impl Into<IntPtr>, length: impl Into<i32>, ) -> i32

UnmanagedWrite(::unity::IntPtr, i32) overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: IDeflateStreamNative> IDeflateStreamNativeMethods for __T

Available on crate feature system-io-compression-deflatestreamnative only.