Array
extension Array: XDRCodable where Element: XDRCodable
Extension making Array conform to XDRCodable when elements are XDRCodable.
Arrays in XDR are encoded with a 32-bit count prefix followed by the elements.
-
Encodes the array to XDR format.
Writes the element count as UInt32 followed by each element.
Declaration
Swift
public func xdrEncode(to encoder: XDREncoder) throws -
Undocumented
Declaration
Swift
public init(fromBinary decoder: XDRDecoder) throws
View on GitHub
Install in Dash