Instance Propertyswift-protobuf 1.28.1SwiftProtobuf
messageDepthLimit
The maximum nesting of message with messages. The default is 100.
BinaryDecodingOptions.swift:22var messageDepthLimit: Int
To prevent corrupt or malicious messages from causing stack overflows, this controls how deep messages can be nested within other messages while parsing.
Other members in extension
Type members
Instance members
var discardUnknownFields: Bool
Discard unknown fields while parsing. The default is false, so parsering does not discard unknown fields.