MessagePackFormatter.Deserialize(ReadOnlySequence<Byte>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Deserializes a JsonRpcMessage.
public StreamJsonRpc.Protocol.JsonRpcMessage Deserialize (System.Buffers.ReadOnlySequence<byte> contentBuffer);
abstract member Deserialize : System.Buffers.ReadOnlySequence<byte> -> StreamJsonRpc.Protocol.JsonRpcMessage
override this.Deserialize : System.Buffers.ReadOnlySequence<byte> -> StreamJsonRpc.Protocol.JsonRpcMessage
Public Function Deserialize (contentBuffer As ReadOnlySequence(Of Byte)) As JsonRpcMessage
Parameters
- contentBuffer
- ReadOnlySequence<Byte>
A sequence of bytes to deserialize.
Returns
The deserialized JsonRpcMessage.