pub fn decode_and_render(
buf: &[u8],
schema: Option<&ParsedSchema>,
annotations: bool,
indent_size: usize,
) -> Vec<u8> ⓘExpand description
Decode raw protobuf binary and render as protoc-style text in one pass.
Writes the #@ prototext: protoc\n header followed by field lines directly
into a pre-allocated Vec<u8>.
Parameters mirror format_as_text in lib.rs.