pub trait ValueDeserializerHelper {
    fn get_cxx_value_deserializer(&mut self) -> &mut CxxValueDeserializer;

    fn read_header(&mut self, context: Local<'_, Context>) -> Option<bool> { ... }
    fn read_value<'s>(
        &mut self,
        context: Local<'s, Context>
    ) -> Option<Local<'s, Value>> { ... } fn read_uint32(&mut self, value: &mut u32) -> bool { ... } fn read_uint64(&mut self, value: &mut u64) -> bool { ... } fn read_double(&mut self, value: &mut f64) -> bool { ... } fn read_raw_bytes(&mut self, length: usize) -> Option<&[u8]> { ... } fn transfer_array_buffer(
        &mut self,
        transfer_id: u32,
        array_buffer: Local<'_, ArrayBuffer>
    ) { ... } }
Expand description

Trait used for direct read from the deserialization buffer. Mostly used by the read_host_object callback function in the ValueDeserializerImpl trait to create custom deserialization logic.

Required Methods§

Provided Methods§

Implementors§