areAllInitialized(_:)

    Helper to loop over dictionary with values that are Messages to see if they are all initialized (see Message.isInitialized for what that means).

    Internal.swift:45
    static func areAllInitialized<K>(_ mapToMessages: [K : any Message]) -> Bool where K : Hashable

    Other members in extension

    Type members

    Show obsolete interfaces (1)

    Hide obsolete interfaces

    • static let emptyData: Data

      A singleton instance of an empty data that is used by the generated code for default values. This is a performance enhancement to work around the fact that the Data type in Swift involves a new heap allocation every time an empty instance is initialized, instead of sharing a common empty backing storage.