Internal

    Functions that are public only because they are used by generated message implementations.

    Internal.swift:21
    enum Internal

    Citizens in SwiftProtobuf

    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.