Skip to content

TestWire

ratranqu edited this page Apr 26, 2021 · 2 revisions

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 
Types
Protocols
Global Typealiases
Global Variables
Global Functions
Extensions
Clone this wiki locally