fidl::encoding

Function with_tls_decode_buf

Source
pub fn with_tls_decode_buf<R, D: ResourceDialect>(
    f: impl FnOnce(&mut Vec<u8>, &mut Vec<<D::Handle as HandleFor<D>>::HandleInfo>) -> R,
) -> R
Expand description

Acquire a mutable reference to the thread-local buffers used for decoding.

This function may not be called recursively.