pub fn render_as_bytes(
data: &[u8],
_opts: RenderOpts,
) -> Result<Vec<u8>, CodecError>Expand description
Encode a textual prototext payload back to raw protobuf binary wire bytes.
The input must carry the #@ prototext: header (i.e. be produced by
render_as_text). Raw binary input is passed through unchanged.