init(dictionaryLiteral:)

Build the bidirectional maps between numbers and proto/JSON names.

NameMap.swift:197
init(dictionaryLiteral elements: (Int, NameDescription)...)

Other members in extension

Types

Show implementation details (1)

Hide implementation details

  • enum NameDescription

    A description of the names for a particular field or enum case. The different forms here let us minimize the amount of string data that we store in the binary.

Type members

Show implementation details (1)

Hide implementation details

  • init()

    Creates a new empty field/enum-case name/number mapping.