Esc

Metadata_Entry

structextensionsince 0.36.1Source
  • macOS: Metadata_Entry works on macOS
  • Linux: Metadata_Entry works on Linux
  • Windows: Metadata_Entry works on Windows
  • Wasm: Metadata_Entry works on Wasm

Declaration

Metadata_Entry :: struct {
    name: string;// raw bytes for names ending -bin    value: string;}

One ordered application metadata entry. Names may repeat; values for names ending in -bin contain raw bytes rather than Base64 text.

Example↗
entry := Metadata_Entry.{ "trace-bin", "\x01\x02" }; // -bin values are raw bytes
assert(valid_metadata_name(entry.name));

See also