Skip to main content

IGZipStreamMethods

Trait IGZipStreamMethods 

Source
pub trait IGZipStreamMethods: IGZipStream {
Show 17 methods // Provided methods fn ctor(self, stream: impl Into<Stream>, mode: impl Into<CompressionMode>) { ... } fn ctor_2( self, stream: impl Into<Stream>, mode: impl Into<CompressionMode>, leave_open: impl Into<bool>, ) { ... } fn ctor_3( self, stream: impl Into<Stream>, compression_level: impl Into<CompressionLevel>, leave_open: impl Into<bool>, ) { ... } fn get_can_read(self) -> bool { ... } fn get_can_write(self) -> bool { ... } fn get_can_seek(self) -> bool { ... } fn get_length(self) -> i64 { ... } fn get_position(self) -> i64 { ... } fn set_position(self, value: impl Into<i64>) { ... } fn flush(self) { ... } fn seek(self, offset: impl Into<i64>, origin: impl Into<SeekOrigin>) -> i64 { ... } fn set_length(self, value: impl Into<i64>) { ... } fn read_byte(self) -> i32 { ... } fn read( self, array: impl Into<Array<u8>>, offset: impl Into<i32>, count: impl Into<i32>, ) -> i32 { ... } fn write( self, array: impl Into<Array<u8>>, offset: impl Into<i32>, count: impl Into<i32>, ) { ... } fn dispose(self, disposing: impl Into<bool>) { ... } fn check_deflate_stream(self) { ... }
}

Provided Methods§

Source

fn ctor(self, stream: impl Into<Stream>, mode: impl Into<CompressionMode>)

.ctor(crate::system::io::stream::Stream, crate::system::io::compression::compressionmode::CompressionMode) overload

Source

fn ctor_2( self, stream: impl Into<Stream>, mode: impl Into<CompressionMode>, leave_open: impl Into<bool>, )

.ctor(crate::system::io::stream::Stream, crate::system::io::compression::compressionmode::CompressionMode, bool) overload

Source

fn ctor_3( self, stream: impl Into<Stream>, compression_level: impl Into<CompressionLevel>, leave_open: impl Into<bool>, )

.ctor(crate::system::io::stream::Stream, crate::system::io::compression::compressionlevel::CompressionLevel, bool) overload

Source

fn get_can_read(self) -> bool

get_CanRead() overload

Source

fn get_can_write(self) -> bool

get_CanWrite() overload

Source

fn get_can_seek(self) -> bool

get_CanSeek() overload

Source

fn get_length(self) -> i64

get_Length() overload

Source

fn get_position(self) -> i64

get_Position() overload

Source

fn set_position(self, value: impl Into<i64>)

set_Position(i64) overload

Source

fn flush(self)

Flush() overload

Source

fn seek(self, offset: impl Into<i64>, origin: impl Into<SeekOrigin>) -> i64

Seek(i64, crate::system::io::seekorigin::SeekOrigin) overload

Source

fn set_length(self, value: impl Into<i64>)

SetLength(i64) overload

Source

fn read_byte(self) -> i32

ReadByte() overload

Source

fn read( self, array: impl Into<Array<u8>>, offset: impl Into<i32>, count: impl Into<i32>, ) -> i32

Read(::unity::Array<u8>, i32, i32) overload

Source

fn write( self, array: impl Into<Array<u8>>, offset: impl Into<i32>, count: impl Into<i32>, )

Write(::unity::Array<u8>, i32, i32) overload

Source

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

Dispose(bool) overload

Source

fn check_deflate_stream(self)

CheckDeflateStream() 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: IGZipStream> IGZipStreamMethods for __T

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