pub fn encode(tag: BackendTag, payload: &HandlePayload) -> HandleOpaqueExpand description
Encode a HandlePayload into a HandleOpaque tagged with
tag. Produces a v2 buffer — callers decoding via decode always
get the tag they encoded.
pub fn encode(tag: BackendTag, payload: &HandlePayload) -> HandleOpaqueEncode a HandlePayload into a HandleOpaque tagged with
tag. Produces a v2 buffer — callers decoding via decode always
get the tag they encoded.