pub trait IStreamReaderMethods: IStreamReader {
Show 24 methods
// Provided methods
fn check_async_task_in_progress(self) { ... }
fn ctor(self) { ... }
fn ctor_2(self, stream: impl Into<Stream>) { ... }
fn ctor_3(
self,
stream: impl Into<Stream>,
detect_encoding_from_byte_order_marks: impl Into<bool>,
) { ... }
fn ctor_4(self, path: impl Into<Il2CppString>) { ... }
fn ctor_5(
self,
path: impl Into<Il2CppString>,
detect_encoding_from_byte_order_marks: impl Into<bool>,
) { ... }
fn init(self, stream: impl Into<Stream>) { ... }
fn close(self) { ... }
fn dispose(self, disposing: impl Into<bool>) { ... }
fn get_base_stream(self) -> Stream { ... }
fn get_leave_open(self) -> bool { ... }
fn get_end_of_stream(self) -> bool { ... }
fn peek(self) -> i32 { ... }
fn data_available(self) -> bool { ... }
fn read(self) -> i32 { ... }
fn read_2(
self,
buffer: impl Into<Array<u16>>,
index: impl Into<i32>,
count: impl Into<i32>,
) -> i32 { ... }
fn read_to_end(self) -> Il2CppString { ... }
fn read_block(
self,
buffer: impl Into<Array<u16>>,
index: impl Into<i32>,
count: impl Into<i32>,
) -> i32 { ... }
fn compress_buffer(self, n: impl Into<i32>) { ... }
fn detect_encoding(self) { ... }
fn is_preamble(self) -> bool { ... }
fn read_buffer(self) -> i32 { ... }
fn read_buffer_2(
self,
user_buffer: impl Into<Array<u16>>,
user_offset: impl Into<i32>,
desired_chars: impl Into<i32>,
) -> (i32, bool) { ... }
fn read_line(self) -> Il2CppString { ... }
}Provided Methods§
Sourcefn check_async_task_in_progress(self)
fn check_async_task_in_progress(self)
CheckAsyncTaskInProgress() overload
Sourcefn ctor_3(
self,
stream: impl Into<Stream>,
detect_encoding_from_byte_order_marks: impl Into<bool>,
)
fn ctor_3( self, stream: impl Into<Stream>, detect_encoding_from_byte_order_marks: impl Into<bool>, )
.ctor(crate::system::io::stream::Stream, bool) overload
Sourcefn ctor_4(self, path: impl Into<Il2CppString>)
fn ctor_4(self, path: impl Into<Il2CppString>)
.ctor(::unity::Il2CppString) overload
Sourcefn ctor_5(
self,
path: impl Into<Il2CppString>,
detect_encoding_from_byte_order_marks: impl Into<bool>,
)
fn ctor_5( self, path: impl Into<Il2CppString>, detect_encoding_from_byte_order_marks: impl Into<bool>, )
.ctor(::unity::Il2CppString, bool) overload
Sourcefn get_base_stream(self) -> Stream
fn get_base_stream(self) -> Stream
get_BaseStream() overload
Sourcefn get_leave_open(self) -> bool
fn get_leave_open(self) -> bool
get_LeaveOpen() overload
Sourcefn get_end_of_stream(self) -> bool
fn get_end_of_stream(self) -> bool
get_EndOfStream() overload
Sourcefn data_available(self) -> bool
fn data_available(self) -> bool
DataAvailable() overload
Sourcefn read_2(
self,
buffer: impl Into<Array<u16>>,
index: impl Into<i32>,
count: impl Into<i32>,
) -> i32
fn read_2( self, buffer: impl Into<Array<u16>>, index: impl Into<i32>, count: impl Into<i32>, ) -> i32
Read(::unity::Array<u16>, i32, i32) overload
Sourcefn read_to_end(self) -> Il2CppString
fn read_to_end(self) -> Il2CppString
ReadToEnd() overload
Sourcefn read_block(
self,
buffer: impl Into<Array<u16>>,
index: impl Into<i32>,
count: impl Into<i32>,
) -> i32
fn read_block( self, buffer: impl Into<Array<u16>>, index: impl Into<i32>, count: impl Into<i32>, ) -> i32
ReadBlock(::unity::Array<u16>, i32, i32) overload
Sourcefn compress_buffer(self, n: impl Into<i32>)
fn compress_buffer(self, n: impl Into<i32>)
CompressBuffer(i32) overload
Sourcefn detect_encoding(self)
fn detect_encoding(self)
DetectEncoding() overload
Sourcefn is_preamble(self) -> bool
fn is_preamble(self) -> bool
IsPreamble() overload
Sourcefn read_buffer(self) -> i32
fn read_buffer(self) -> i32
ReadBuffer() overload
Sourcefn read_buffer_2(
self,
user_buffer: impl Into<Array<u16>>,
user_offset: impl Into<i32>,
desired_chars: impl Into<i32>,
) -> (i32, bool)
fn read_buffer_2( self, user_buffer: impl Into<Array<u16>>, user_offset: impl Into<i32>, desired_chars: impl Into<i32>, ) -> (i32, bool)
ReadBuffer(::unity::Array<u16>, i32, i32, *mutbool) overload
Sourcefn read_line(self) -> Il2CppString
fn read_line(self) -> Il2CppString
ReadLine() 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: IStreamReader> IStreamReaderMethods for __T
Available on crate feature
system-io-streamreader only.