Table of Contents

Interface IMessageDecoder

Namespace
AnyProtocol.Encoder.Abstraction
Assembly
AnyProtocol.Encoder.Abstraction.dll

Defines operations for message decoder.

public interface IMessageDecoder

Methods

Decode(ReadOnlyMemory<byte>)

Decodes a message value from transport data.

TransportEnvelope Decode(ReadOnlyMemory<byte> frame)

Parameters

frame ReadOnlyMemory<byte>

The frame to process.

Returns

TransportEnvelope

The value produced by the operation.