TestWire - CosmosSwift/swift-coin GitHub Wiki

TestWire

public struct TestWire: CoderProtocol, CoderType

Inheritance

CoderProtocol, CoderType

Methods

decode(_:from:)

public static func decode<T: Decodable>(_: T.Type, from: Data) throws -> T

encode(_:)

public static func encode<T: Encodable>(_ object: T) throws -> Data

encode(_:int64:)

public static func encode(_ to: inout Data, int64: Int64)

encode(_:int8:)

public static func encode(_ to: inout Data, int8: Int8)

encode(_:bytes:)

public static func encode<Bytes>(_ to: inout Data, bytes: Bytes) where Bytes: DataProtocol

mustMarshalBinaryLengthPrefixed(_:)

public static func mustMarshalBinaryLengthPrefixed<ProofOperator: ProofOperatorProtocol>(_: ProofOperator) -> Data
⚠️ **GitHub.com Fallback** ⚠️