pub fn rewrap_length_prefixed_handler_response(
raw_bytes: &[u8],
correlation_id: u64,
) -> FrameExpand description
Adapt an older 5-byte handler envelope into a RedWire reply frame.
Some in-process fast paths return [u32 length][u8 kind][body...].
RedWire uses the same message-kind discriminator for kind, but owns the
outer frame header. This helper keeps that compatibility bridge in the wire
crate instead of letting runtime code parse kind bytes directly.