pub fn encode_ops(
context: EncodeContext,
request: FetchOps,
operations: &[Operation<'_>],
metadata: &mut [u8],
payload: &mut [u8],
) -> Result<PrepareEncoding, WireError>Expand description
Encode complete canonical operations from the exact pinned request source.
Reuses verified body digests and caller buffers. Honors both request bounds and local wire limits; errors leave metadata and payload output unchanged. The serving adapter independently verifies the source pin and role lifetime.