pub struct BinaryEncoding(/* private fields */);Expand description
IL2CPP class: MoonSharp.Interpreter.CoreLib.IO.BinaryEncoding
Implementations§
Source§impl BinaryEncoding
impl BinaryEncoding
pub fn ctor_method_info() -> &'static MethodInfo
pub fn get_byte_count_method_info() -> &'static MethodInfo
pub fn get_bytes_method_info() -> &'static MethodInfo
pub fn get_char_count_method_info() -> &'static MethodInfo
pub fn get_chars_method_info() -> &'static MethodInfo
pub fn get_max_byte_count_method_info() -> &'static MethodInfo
pub fn get_max_char_count_method_info() -> &'static MethodInfo
Source§impl BinaryEncoding
impl BinaryEncoding
Sourcepub unsafe fn get_byte_count(
this: impl Into<IlInstance>,
chars: Array<u16>,
index: i32,
count: i32,
) -> i32
pub unsafe fn get_byte_count( this: impl Into<IlInstance>, chars: Array<u16>, index: i32, count: i32, ) -> i32
Direct (non-virtual) call to BinaryEncoding’s own GetByteCount. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.
Sourcepub unsafe fn get_bytes(
this: impl Into<IlInstance>,
chars: Array<u16>,
char_index: i32,
char_count: i32,
bytes: Array<u8>,
byte_index: i32,
) -> i32
pub unsafe fn get_bytes( this: impl Into<IlInstance>, chars: Array<u16>, char_index: i32, char_count: i32, bytes: Array<u8>, byte_index: i32, ) -> i32
Direct (non-virtual) call to BinaryEncoding’s own GetBytes. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.
Sourcepub unsafe fn get_char_count(
this: impl Into<IlInstance>,
bytes: Array<u8>,
index: i32,
count: i32,
) -> i32
pub unsafe fn get_char_count( this: impl Into<IlInstance>, bytes: Array<u8>, index: i32, count: i32, ) -> i32
Direct (non-virtual) call to BinaryEncoding’s own GetCharCount. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.
Sourcepub unsafe fn get_chars(
this: impl Into<IlInstance>,
bytes: Array<u8>,
byte_index: i32,
byte_count: i32,
chars: Array<u16>,
char_index: i32,
) -> i32
pub unsafe fn get_chars( this: impl Into<IlInstance>, bytes: Array<u8>, byte_index: i32, byte_count: i32, chars: Array<u16>, char_index: i32, ) -> i32
Direct (non-virtual) call to BinaryEncoding’s own GetChars. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.
Sourcepub unsafe fn get_max_byte_count(
this: impl Into<IlInstance>,
char_count: i32,
) -> i32
pub unsafe fn get_max_byte_count( this: impl Into<IlInstance>, char_count: i32, ) -> i32
Direct (non-virtual) call to BinaryEncoding’s own GetMaxByteCount. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.
Sourcepub unsafe fn get_max_char_count(
this: impl Into<IlInstance>,
byte_count: i32,
) -> i32
pub unsafe fn get_max_char_count( this: impl Into<IlInstance>, byte_count: i32, ) -> i32
Direct (non-virtual) call to BinaryEncoding’s own GetMaxCharCount. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.
Trait Implementations§
Source§impl ClassIdentity for BinaryEncoding
impl ClassIdentity for BinaryEncoding
Source§impl Clone for BinaryEncoding
impl Clone for BinaryEncoding
Source§fn clone(&self) -> BinaryEncoding
fn clone(&self) -> BinaryEncoding
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl FromIlInstance for BinaryEncoding
impl FromIlInstance for BinaryEncoding
fn from_il_instance(instance: IlInstance) -> Self
fn instantiate() -> Option<Self>
§fn instantiate_with_class(class: Class) -> Option<Self>
fn instantiate_with_class(class: Class) -> Option<Self>
class is a subtype of Self or layout compatibleimpl Copy for BinaryEncoding
impl IBinaryEncoding for BinaryEncoding
Auto Trait Implementations§
impl Freeze for BinaryEncoding
impl RefUnwindSafe for BinaryEncoding
impl !Send for BinaryEncoding
impl !Sync for BinaryEncoding
impl Unpin for BinaryEncoding
impl UnwindSafe for BinaryEncoding
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Cast for Twhere
T: SystemObject,
impl<T> Cast for Twhere
T: SystemObject,
fn get_class(self) -> Class
fn is_null(self) -> bool
fn rebind_class(self, new_class: Class)
fn override_class(self) -> Class
fn is_instance_of<T>(self) -> boolwhere
T: ClassIdentity,
fn is_direct_subclass_of<T>(self) -> boolwhere
T: ClassIdentity,
fn try_cast<T>(self) -> Option<T>where
T: ClassIdentity + FromIlInstance,
§unsafe fn cast<T>(self) -> Twhere
T: ClassIdentity + FromIlInstance,
unsafe fn cast<T>(self) -> Twhere
T: ClassIdentity + FromIlInstance,
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
clone_to_uninit)§impl<T> DefaultInjectedMembers for T
impl<T> DefaultInjectedMembers for T
fn __injected_fields() -> Vec<InjectedFieldDescriptor>
fn __injected_methods() -> Vec<InjectedMethodDescriptor>
fn __injected_overrides() -> Vec<InjectedOverrideDescriptor>
Source§impl<T0, __U> IArrayBuilder_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> IArrayBuilder_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn ctor(self, capacity: i32)where
Self: Sized,
fn get_capacity(self) -> i32where
Self: Sized,
fn get_count(self) -> i32where
Self: Sized,
fn get_item(self, index: i32) -> T0where
Self: Sized,
fn add(self, item: T0)where
Self: Sized,
fn to_array(self) -> Array<T0>where
Self: Sized,
fn unchecked_add(self, item: T0)where
Self: Sized,
fn ensure_capacity(self, minimum: i32)where
Self: Sized,
Source§impl<T0, __U> IAsyncOperationHandle_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> IAsyncOperationHandle_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn get_location_name(self) -> Il2CppStringwhere
Self: Sized,
fn set_location_name(self, value: Il2CppString)where
Self: Sized,
fn op_implicit(obj: AsyncOperationHandle_1<T0>) -> AsyncOperationHandle
fn ctor(self, op: AsyncOperationBase_1<T0>)where
Self: Sized,
fn get_download_status(self) -> DownloadStatuswhere
Self: Sized,
fn internal_get_download_status(
self,
visited: HashSet_1<Object>,
) -> DownloadStatuswhere
Self: Sized,
fn ctor_2(self, op: IAsyncOperation)where
Self: Sized,
fn ctor_3(self, op: IAsyncOperation, version: i32)where
Self: Sized,
fn ctor_4(self, op: IAsyncOperation, location_name: Il2CppString)where
Self: Sized,
fn ctor_5(self, op: IAsyncOperation, version: i32, location_name: Il2CppString)where
Self: Sized,
fn acquire(self) -> AsyncOperationHandle_1<T0>where
Self: Sized,
fn add_completed(self, value: Action_1<AsyncOperationHandle_1<T0>>)where
Self: Sized,
fn remove_completed(self, value: Action_1<AsyncOperationHandle_1<T0>>)where
Self: Sized,
fn add_completed_typeless(self, value: Action_1<AsyncOperationHandle>)where
Self: Sized,
fn remove_completed_typeless(self, value: Action_1<AsyncOperationHandle>)where
Self: Sized,
fn get_debug_name(self) -> Il2CppStringwhere
Self: Sized,
fn add_destroyed(self, value: Action_1<AsyncOperationHandle>)where
Self: Sized,
fn remove_destroyed(self, value: Action_1<AsyncOperationHandle>)where
Self: Sized,
fn equals(self, other: AsyncOperationHandle_1<T0>) -> boolwhere
Self: Sized,
fn get_hash_code(self) -> i32where
Self: Sized,
fn wait_for_completion(self) -> T0where
Self: Sized,
fn get_internal_op(self) -> AsyncOperationBase_1<T0>where
Self: Sized,
fn get_is_done(self) -> boolwhere
Self: Sized,
fn is_valid(self) -> boolwhere
Self: Sized,
fn get_percent_complete(self) -> f32where
Self: Sized,
fn get_reference_count(self) -> i32where
Self: Sized,
fn release(self)where
Self: Sized,
fn get_result(self) -> T0where
Self: Sized,
fn get_status(self) -> AsyncOperationStatuswhere
Self: Sized,
fn system_collections_i_enumerator_get_current(self) -> Objectwhere
Self: Sized,
fn system_collections_i_enumerator_move_next(self) -> boolwhere
Self: Sized,
fn system_collections_i_enumerator_reset(self)where
Self: Sized,
Source§impl<__T> IBinaryEncodingMethods for __Twhere
__T: IBinaryEncoding,
impl<__T> IBinaryEncodingMethods for __Twhere
__T: IBinaryEncoding,
Source§fn get_byte_count(
self,
chars: impl Into<Array<u16>>,
index: impl Into<i32>,
count: impl Into<i32>,
) -> i32
fn get_byte_count( self, chars: impl Into<Array<u16>>, index: impl Into<i32>, count: impl Into<i32>, ) -> i32
GetByteCount(::unity::Array<u16>, i32, i32) overloadSource§fn get_bytes(
self,
chars: impl Into<Array<u16>>,
char_index: impl Into<i32>,
char_count: impl Into<i32>,
bytes: impl Into<Array<u8>>,
byte_index: impl Into<i32>,
) -> i32
fn get_bytes( self, chars: impl Into<Array<u16>>, char_index: impl Into<i32>, char_count: impl Into<i32>, bytes: impl Into<Array<u8>>, byte_index: impl Into<i32>, ) -> i32
GetBytes(::unity::Array<u16>, i32, i32, ::unity::Array<u8>, i32) overloadSource§fn get_char_count(
self,
bytes: impl Into<Array<u8>>,
index: impl Into<i32>,
count: impl Into<i32>,
) -> i32
fn get_char_count( self, bytes: impl Into<Array<u8>>, index: impl Into<i32>, count: impl Into<i32>, ) -> i32
GetCharCount(::unity::Array<u8>, i32, i32) overloadSource§fn get_chars(
self,
bytes: impl Into<Array<u8>>,
byte_index: impl Into<i32>,
byte_count: impl Into<i32>,
chars: impl Into<Array<u16>>,
char_index: impl Into<i32>,
) -> i32
fn get_chars( self, bytes: impl Into<Array<u8>>, byte_index: impl Into<i32>, byte_count: impl Into<i32>, chars: impl Into<Array<u16>>, char_index: impl Into<i32>, ) -> i32
GetChars(::unity::Array<u8>, i32, i32, ::unity::Array<u16>, i32) overloadSource§fn get_max_byte_count(self, char_count: impl Into<i32>) -> i32
fn get_max_byte_count(self, char_count: impl Into<i32>) -> i32
GetMaxByteCount(i32) overloadSource§fn get_max_char_count(self, byte_count: impl Into<i32>) -> i32
fn get_max_char_count(self, byte_count: impl Into<i32>) -> i32
GetMaxCharCount(i32) overload