Skip to main content

IBinaryEncodingMethods

Trait IBinaryEncodingMethods 

Source
pub trait IBinaryEncodingMethods: IBinaryEncoding {
    // Provided methods
    fn ctor(self) { ... }
    fn get_byte_count(
        self,
        chars: impl Into<Array<u16>>,
        index: impl Into<i32>,
        count: 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 { ... }
    fn get_char_count(
        self,
        bytes: impl Into<Array<u8>>,
        index: impl Into<i32>,
        count: 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 { ... }
    fn get_max_byte_count(self, char_count: impl Into<i32>) -> i32 { ... }
    fn get_max_char_count(self, byte_count: impl Into<i32>) -> i32 { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

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) overload

Source

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) overload

Source

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) overload

Source

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) overload

Source

fn get_max_byte_count(self, char_count: impl Into<i32>) -> i32

GetMaxByteCount(i32) overload

Source

fn get_max_char_count(self, byte_count: impl Into<i32>) -> i32

GetMaxCharCount(i32) 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: IBinaryEncoding> IBinaryEncodingMethods for __T

Available on crate feature moon_sharp-interpreter-core_lib-io-binaryencoding only.