Esc

read_oneof

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

Reads a oneof occurrence without changing the selected case for a rejected closed enum.

Signature

read_oneof :: (
    r: *Reader,
    v: *$V,
    $selected: V.Which,
    $kind: Scalar,
    wire: u64,
    path: string
) -> bool

See also