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§
Sourcefn get_base_stream(self) -> Stream
fn get_base_stream(self) -> Stream
get_BaseStream() overload
Sourcefn read_boolean(self) -> bool
fn read_boolean(self) -> bool
ReadBoolean() overload
Sourcefn read_s_byte(self) -> i8
fn read_s_byte(self) -> i8
ReadSByte() overload
Sourcefn read_int16(self) -> i16
fn read_int16(self) -> i16
ReadInt16() overload
Sourcefn read_u_int16(self) -> u16
fn read_u_int16(self) -> u16
ReadUInt16() overload
Sourcefn read_int32(self) -> i32
fn read_int32(self) -> i32
ReadInt32() overload
Sourcefn read_u_int32(self) -> u32
fn read_u_int32(self) -> u32
ReadUInt32() overload
Sourcefn read_int64(self) -> i64
fn read_int64(self) -> i64
ReadInt64() overload
Sourcefn read_u_int64(self) -> u64
fn read_u_int64(self) -> u64
ReadUInt64() overload
Sourcefn read_single(self) -> f32
fn read_single(self) -> f32
ReadSingle() overload
Sourcefn read_double(self) -> f64
fn read_double(self) -> f64
ReadDouble() overload
Sourcefn read_string(self) -> Il2CppString
fn read_string(self) -> Il2CppString
ReadString() overload
Sourcefn internal_read_chars(
self,
buffer: impl Into<Array<u16>>,
index: impl Into<i32>,
count: impl Into<i32>,
) -> i32
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
Sourcefn internal_read_one_char(self) -> i32
fn internal_read_one_char(self) -> i32
InternalReadOneChar() overload
Sourcefn read_chars(self, count: impl Into<i32>) -> Array<u16>
fn read_chars(self, count: impl Into<i32>) -> Array<u16>
ReadChars(i32) overload
Sourcefn read_2(
self,
buffer: impl Into<Array<u8>>,
index: impl Into<i32>,
count: impl Into<i32>,
) -> i32
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
Sourcefn read_bytes(self, count: impl Into<i32>) -> Array<u8>
fn read_bytes(self, count: impl Into<i32>) -> Array<u8>
ReadBytes(i32) overload
Sourcefn fill_buffer(self, num_bytes: impl Into<i32>)
fn fill_buffer(self, num_bytes: impl Into<i32>)
FillBuffer(i32) overload
Sourcefn read7_bit_encoded_int(self) -> i32
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§
impl<__T: IBinaryReader> IBinaryReaderMethods for __T
Available on crate feature
system-io-binaryreader only.