Skip to content
ratranqu edited this page Apr 26, 2021 · 2 revisions

Codec

public class Codec 

Initializers

init()

public init() 

Properties

codec

public static let codec 

bankCodec

public static let bankCodec 

Methods

marshalJSON(value:)

public func marshalJSON<T: Encodable>(value: T) throws -> Data 

mustMarshalJSON(value:)

public func mustMarshalJSON<T: Encodable>(value: T) -> Data 

marshalBinaryLengthPrefixed(value:)

public func marshalBinaryLengthPrefixed<T: Encodable>(value: T) throws -> Data 

mustMarshalBinaryLengthPrefixed(value:)

public func mustMarshalBinaryLengthPrefixed<T: Encodable>(value: T) -> Data 

marshalBinaryBare(value:)

public func marshalBinaryBare<T: Encodable>(value: T) throws -> Data 

mustMarshalBinaryBare(value:)

public func mustMarshalBinaryBare<T: Encodable>(value: T) -> Data 

unmarshalBinaryLengthPrefixed(data:)

public func unmarshalBinaryLengthPrefixed<T: Decodable>(data: Data) throws -> T 

unmarshalJSON(data:)

public func unmarshalJSON<T: Decodable>(data: Data) throws -> T 

mustUnmarshalJSON(data:)

public func mustUnmarshalJSON<T: Decodable>(data: Data) -> T 

unmarshalBinaryBare(data:)

public func unmarshalBinaryBare<T: Decodable>(data: Data) throws -> T 

mustUnmarshalBinaryBare(data:)

public func mustUnmarshalBinaryBare<T: Decodable>(data: Data) -> T 

marshalJSONIndent(value:)

public func marshalJSONIndent<T: Encodable>(value: T) throws -> Data 

mustUnmarshalBinaryLength(data:)

public func mustUnmarshalBinaryLength<T: Decodable>(data: Data) -> T 

mustUnmarshalBinaryLengthPrefixed(data:)

public func mustUnmarshalBinaryLengthPrefixed<T: Decodable>(data: Data) -> T 

mustMarshalJSONIndent(value:)

public func mustMarshalJSONIndent<T: Encodable>(value: T) -> Data 
Types
Protocols
Global Typealiases
Global Variables
Global Functions
Extensions
Clone this wiki locally