Required Instance Methodswift 6.0.1Swift

    encode(_:)

    Encodes a single value of the given type.

    mutating func encode(_ value: UInt) throws

    Parameters

    value

    The value to encode.

    Throws

    EncodingError.invalidValue if the given value is invalid in the current context for this format.

    Other requirements

    View members

    Hide members

    This section is hidden by default because it contains too many (18) members.

    Instance members

    Citizens in Swift

    Default implementations