Skip to content

TestWire

ratranqu edited this page Feb 1, 2021 · 1 revision

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

Clone this wiki locally