Deserializable

public protocol Deserializable

Deserializable is a type that can be extracted from a BinaryDecoder.

This is typically used to extract an object or a struct from the decoder when a Map is being loaded.

Note: Mappedin will supply source that implements this for you you should not have to do anything.

  • init(from:) Default implementation

    Initialize a type by reading it from the buffer

    Default Implementation

    Declaration

    Swift

    init(from buffer: inout BinaryDecoder) throws