init(textFormatString:extensions:)

    Creates a new message by decoding the given string containing a serialized message in Protocol Buffer text format.

    Message+TextFormatAdditions.swift:67
    init(textFormatString: String, extensions: (any ExtensionMap)? = nil) throws

    Parameters

    textFormatString

    The text format string to decode.

    extensions

    An ExtensionMap used to look up and decode any extensions in this message or messages nested within this message’s fields.

    Throws

    SwiftProtobufError on failure.

    Other members in extension

    Type members

    Show obsolete interfaces (3)

    Hide obsolete interfaces

    Instance members

    Show obsolete interfaces (2)

    Hide obsolete interfaces