pub fn encode_shared_bytes<B: AsSharedBytes, S: EncodeSink>(
value: &B,
buf: &mut S,
)Expand description
Encode a length-delimited bytes value (varint length prefix + payload,
no tag), splicing the payload into segmented sinks by reference count
when the value can produce a Bytes handle.
The tagless sibling of put_shared_bytes_field and the shared-aware
counterpart of encode_bytes; map value codecs use it directly (the
map entry writes the value tag itself).