ArrayCoder

public struct ArrayCoder<Properties, Element> : CustomCoder where Properties : ArrayCoderProperties
extension ArrayCoder: CustomDecoder where Element: Decodable
extension ArrayCoder: CustomEncoder where Element: Encodable

Coder for encoding/decoding Arrays. This is extended to support encoding and decoding based on whether Element is Encodable or Decodable.

  • Declaration

    Swift

    public typealias CodableValue = [Element]

Available where Element: Decodable

Available where Element: Encodable