Skip to main content

ITextReaderMethods

Trait ITextReaderMethods 

Source
pub trait ITextReaderMethods: ITextReader {
    // Provided methods
    fn ctor(self) { ... }
    fn close(self) { ... }
    fn dispose(self) { ... }
    fn dispose_2(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_block(
        self,
        buffer: impl Into<Array<u16>>,
        index: impl Into<i32>,
        count: impl Into<i32>,
    ) -> i32 { ... }
    fn read_line(self) -> Il2CppString { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn close(self)

Close() overload

Source

fn dispose(self)

Dispose() overload

Source

fn dispose_2(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_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 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: ITextReader> ITextReaderMethods for __T

Available on crate feature system-io-textreader only.