A type that provides a view into a decoder’s storage and is used to hold the encoded properties of a decodable type sequentially, without keys.
Decoders should provide types conforming to
UnkeyedDecodingContainer for their format.
var count: Int?
The number of elements contained within this container.
var currentIndex: Int
The current decoding index of the container (i.e. the index of the next element to be decoded.) Incremented after every successful decode call.
var isAtEnd: Bool
A Boolean value indicating whether there are no more elements left to be decoded in the container.
A concrete container that provides a view into a decoder’s storage, making the encoded properties of a decodable type accessible by keys.