Skip to main content

IStringReaderMethods

Trait IStringReaderMethods 

Source
pub trait IStringReaderMethods: IStringReader {
    // Provided methods
    fn ctor(self, s: impl Into<Il2CppString>) { ... }
    fn close(self) { ... }
    fn dispose(self, disposing: impl Into<bool>) { ... }
    fn peek(self) -> i32 { ... }
    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_line(self) -> Il2CppString { ... }
}

Provided Methods§

Source

fn ctor(self, s: impl Into<Il2CppString>)

.ctor(::unity::Il2CppString) overload

Source

fn close(self)

Close() overload

Source

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

Dispose(bool) overload

Source

fn peek(self) -> i32

Peek() 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_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: IStringReader> IStringReaderMethods for __T

Available on crate feature system-io-stringreader only.