pub trait IDeflateStreamMethods: IDeflateStream {
Show 19 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>,
windows_bits: impl Into<i32>,
) { ... }
fn ctor_3(
self,
compressed_stream: impl Into<Stream>,
mode: impl Into<CompressionMode>,
leave_open: impl Into<bool>,
gzip: impl Into<bool>,
) { ... }
fn ctor_4(
self,
stream: impl Into<Stream>,
compression_level: impl Into<CompressionLevel>,
leave_open: impl Into<bool>,
windows_bits: impl Into<i32>,
) { ... }
fn ctor_5(
self,
stream: impl Into<Stream>,
compression_level: impl Into<CompressionLevel>,
leave_open: impl Into<bool>,
gzip: impl Into<bool>,
) { ... }
fn dispose(self, disposing: impl Into<bool>) { ... }
fn read_internal(
self,
array: impl Into<Array<u8>>,
offset: impl Into<i32>,
count: impl Into<i32>,
) -> i32 { ... }
fn read(
self,
array: impl Into<Array<u8>>,
offset: impl Into<i32>,
count: impl Into<i32>,
) -> i32 { ... }
fn write_internal(
self,
array: impl Into<Array<u8>>,
offset: impl Into<i32>,
count: impl Into<i32>,
) { ... }
fn write(
self,
array: impl Into<Array<u8>>,
offset: impl Into<i32>,
count: impl Into<i32>,
) { ... }
fn flush(self) { ... }
fn seek(self, offset: impl Into<i64>, origin: impl Into<SeekOrigin>) -> i64 { ... }
fn set_length(self, value: impl Into<i64>) { ... }
fn get_can_read(self) -> bool { ... }
fn get_can_seek(self) -> bool { ... }
fn get_can_write(self) -> bool { ... }
fn get_length(self) -> i64 { ... }
fn get_position(self) -> i64 { ... }
fn set_position(self, value: impl Into<i64>) { ... }
}Provided Methods§
Sourcefn ctor(self, stream: impl Into<Stream>, mode: impl Into<CompressionMode>)
fn ctor(self, stream: impl Into<Stream>, mode: impl Into<CompressionMode>)
.ctor(crate::system::io::stream::Stream, crate::system::io::compression::compressionmode::CompressionMode) overload
Sourcefn ctor_2(
self,
stream: impl Into<Stream>,
mode: impl Into<CompressionMode>,
leave_open: impl Into<bool>,
windows_bits: impl Into<i32>,
)
fn ctor_2( self, stream: impl Into<Stream>, mode: impl Into<CompressionMode>, leave_open: impl Into<bool>, windows_bits: impl Into<i32>, )
.ctor(crate::system::io::stream::Stream, crate::system::io::compression::compressionmode::CompressionMode, bool, i32) overload
Sourcefn ctor_3(
self,
compressed_stream: impl Into<Stream>,
mode: impl Into<CompressionMode>,
leave_open: impl Into<bool>,
gzip: impl Into<bool>,
)
fn ctor_3( self, compressed_stream: impl Into<Stream>, mode: impl Into<CompressionMode>, leave_open: impl Into<bool>, gzip: impl Into<bool>, )
.ctor(crate::system::io::stream::Stream, crate::system::io::compression::compressionmode::CompressionMode, bool, bool) overload
Sourcefn ctor_4(
self,
stream: impl Into<Stream>,
compression_level: impl Into<CompressionLevel>,
leave_open: impl Into<bool>,
windows_bits: impl Into<i32>,
)
fn ctor_4( self, stream: impl Into<Stream>, compression_level: impl Into<CompressionLevel>, leave_open: impl Into<bool>, windows_bits: impl Into<i32>, )
.ctor(crate::system::io::stream::Stream, crate::system::io::compression::compressionlevel::CompressionLevel, bool, i32) overload
Sourcefn ctor_5(
self,
stream: impl Into<Stream>,
compression_level: impl Into<CompressionLevel>,
leave_open: impl Into<bool>,
gzip: impl Into<bool>,
)
fn ctor_5( self, stream: impl Into<Stream>, compression_level: impl Into<CompressionLevel>, leave_open: impl Into<bool>, gzip: impl Into<bool>, )
.ctor(crate::system::io::stream::Stream, crate::system::io::compression::compressionlevel::CompressionLevel, bool, bool) overload
Sourcefn read_internal(
self,
array: impl Into<Array<u8>>,
offset: impl Into<i32>,
count: impl Into<i32>,
) -> i32
fn read_internal( self, array: impl Into<Array<u8>>, offset: impl Into<i32>, count: impl Into<i32>, ) -> i32
ReadInternal(::unity::Array<u8>, i32, i32) overload
Sourcefn read(
self,
array: impl Into<Array<u8>>,
offset: impl Into<i32>,
count: impl Into<i32>,
) -> i32
fn read( self, array: impl Into<Array<u8>>, offset: impl Into<i32>, count: impl Into<i32>, ) -> i32
Read(::unity::Array<u8>, i32, i32) overload
Sourcefn write_internal(
self,
array: impl Into<Array<u8>>,
offset: impl Into<i32>,
count: impl Into<i32>,
)
fn write_internal( self, array: impl Into<Array<u8>>, offset: impl Into<i32>, count: impl Into<i32>, )
WriteInternal(::unity::Array<u8>, i32, i32) overload
Sourcefn write(
self,
array: impl Into<Array<u8>>,
offset: impl Into<i32>,
count: impl Into<i32>,
)
fn write( self, array: impl Into<Array<u8>>, offset: impl Into<i32>, count: impl Into<i32>, )
Write(::unity::Array<u8>, i32, i32) overload
Sourcefn seek(self, offset: impl Into<i64>, origin: impl Into<SeekOrigin>) -> i64
fn seek(self, offset: impl Into<i64>, origin: impl Into<SeekOrigin>) -> i64
Seek(i64, crate::system::io::seekorigin::SeekOrigin) overload
Sourcefn set_length(self, value: impl Into<i64>)
fn set_length(self, value: impl Into<i64>)
SetLength(i64) overload
Sourcefn get_can_read(self) -> bool
fn get_can_read(self) -> bool
get_CanRead() overload
Sourcefn get_can_seek(self) -> bool
fn get_can_seek(self) -> bool
get_CanSeek() overload
Sourcefn get_can_write(self) -> bool
fn get_can_write(self) -> bool
get_CanWrite() overload
Sourcefn get_length(self) -> i64
fn get_length(self) -> i64
get_Length() overload
Sourcefn get_position(self) -> i64
fn get_position(self) -> i64
get_Position() overload
Sourcefn set_position(self, value: impl Into<i64>)
fn set_position(self, value: impl Into<i64>)
set_Position(i64) 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§
impl<__T: IDeflateStream> IDeflateStreamMethods for __T
system-io-compression-deflatestream only.