Skip to main content

IBinaryReaderMethods

Trait IBinaryReaderMethods 

Source
pub trait IBinaryReaderMethods: IBinaryReader {
Show 26 methods // Provided methods fn ctor(self, input: impl Into<Stream>) { ... } fn get_base_stream(self) -> Stream { ... } fn close(self) { ... } fn dispose(self, disposing: impl Into<bool>) { ... } fn dispose_2(self) { ... } fn read(self) -> i32 { ... } fn read_boolean(self) -> bool { ... } fn read_byte(self) -> u8 { ... } fn read_s_byte(self) -> i8 { ... } fn read_char(self) -> u16 { ... } fn read_int16(self) -> i16 { ... } fn read_u_int16(self) -> u16 { ... } fn read_int32(self) -> i32 { ... } fn read_u_int32(self) -> u32 { ... } fn read_int64(self) -> i64 { ... } fn read_u_int64(self) -> u64 { ... } fn read_single(self) -> f32 { ... } fn read_double(self) -> f64 { ... } fn read_string(self) -> Il2CppString { ... } fn internal_read_chars( self, buffer: impl Into<Array<u16>>, index: impl Into<i32>, count: impl Into<i32>, ) -> i32 { ... } fn internal_read_one_char(self) -> i32 { ... } fn read_chars(self, count: impl Into<i32>) -> Array<u16> { ... } fn read_2( self, buffer: impl Into<Array<u8>>, index: impl Into<i32>, count: impl Into<i32>, ) -> i32 { ... } fn read_bytes(self, count: impl Into<i32>) -> Array<u8> { ... } fn fill_buffer(self, num_bytes: impl Into<i32>) { ... } fn read7_bit_encoded_int(self) -> i32 { ... }
}

Provided Methods§

Source

fn ctor(self, input: impl Into<Stream>)

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

Source

fn get_base_stream(self) -> Stream

get_BaseStream() overload

Source

fn close(self)

Close() overload

Source

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

Dispose(bool) overload

Source

fn dispose_2(self)

Dispose() overload

Source

fn read(self) -> i32

Read() overload

Source

fn read_boolean(self) -> bool

ReadBoolean() overload

Source

fn read_byte(self) -> u8

ReadByte() overload

Source

fn read_s_byte(self) -> i8

ReadSByte() overload

Source

fn read_char(self) -> u16

ReadChar() overload

Source

fn read_int16(self) -> i16

ReadInt16() overload

Source

fn read_u_int16(self) -> u16

ReadUInt16() overload

Source

fn read_int32(self) -> i32

ReadInt32() overload

Source

fn read_u_int32(self) -> u32

ReadUInt32() overload

Source

fn read_int64(self) -> i64

ReadInt64() overload

Source

fn read_u_int64(self) -> u64

ReadUInt64() overload

Source

fn read_single(self) -> f32

ReadSingle() overload

Source

fn read_double(self) -> f64

ReadDouble() overload

Source

fn read_string(self) -> Il2CppString

ReadString() overload

Source

fn internal_read_chars( self, buffer: impl Into<Array<u16>>, index: impl Into<i32>, count: impl Into<i32>, ) -> i32

InternalReadChars(::unity::Array<u16>, i32, i32) overload

Source

fn internal_read_one_char(self) -> i32

InternalReadOneChar() overload

Source

fn read_chars(self, count: impl Into<i32>) -> Array<u16>

ReadChars(i32) overload

Source

fn read_2( self, buffer: impl Into<Array<u8>>, index: impl Into<i32>, count: impl Into<i32>, ) -> i32

Read(::unity::Array<u8>, i32, i32) overload

Source

fn read_bytes(self, count: impl Into<i32>) -> Array<u8>

ReadBytes(i32) overload

Source

fn fill_buffer(self, num_bytes: impl Into<i32>)

FillBuffer(i32) overload

Source

fn read7_bit_encoded_int(self) -> i32

Read7BitEncodedInt() 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: IBinaryReader> IBinaryReaderMethods for __T

Available on crate feature system-io-binaryreader only.