Esc

read_tag

procedureextensionsince 0.36.1Source
  • macOS: read_tag works on macOS
  • Linux: read_tag works on Linux
  • Windows: read_tag works on Windows
  • Wasm: read_tag works on Wasm

Validates a protobuf tag before narrowing it. A one-byte tag can't be too long or too large, so it only needs a nonzero field and a known wire type.

Signature

read_tag :: (r: *Reader) -> u64

See also