Skip to main content

IStreamReaderMethods

Trait IStreamReaderMethods 

Source
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§

Source

fn check_async_task_in_progress(self)

CheckAsyncTaskInProgress() overload

Source

fn ctor(self)

.ctor() overload

Source

fn ctor_2(self, stream: impl Into<Stream>)

.ctor(crate::system::io::stream::Stream) overload

Source

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

Source

fn ctor_4(self, path: impl Into<Il2CppString>)

.ctor(::unity::Il2CppString) overload

Source

fn ctor_5( self, path: impl Into<Il2CppString>, detect_encoding_from_byte_order_marks: impl Into<bool>, )

.ctor(::unity::Il2CppString, bool) overload

Source

fn init(self, stream: impl Into<Stream>)

Init(crate::system::io::stream::Stream) overload

Source

fn close(self)

Close() overload

Source

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

Dispose(bool) overload

Source

fn get_base_stream(self) -> Stream

get_BaseStream() overload

Source

fn get_leave_open(self) -> bool

get_LeaveOpen() overload

Source

fn get_end_of_stream(self) -> bool

get_EndOfStream() overload

Source

fn peek(self) -> i32

Peek() overload

Source

fn data_available(self) -> bool

DataAvailable() overload

Source

fn read(self) -> i32

Read() overload

Source

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

Source

fn read_to_end(self) -> Il2CppString

ReadToEnd() overload

Source

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

Source

fn compress_buffer(self, n: impl Into<i32>)

CompressBuffer(i32) overload

Source

fn detect_encoding(self)

DetectEncoding() overload

Source

fn is_preamble(self) -> bool

IsPreamble() overload

Source

fn read_buffer(self) -> i32

ReadBuffer() overload

Source

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

Source

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§

Source§

impl<__T: IStreamReader> IStreamReaderMethods for __T

Available on crate feature system-io-streamreader only.