ReadOnlyMemoryCodec<T>.ReadValue<TInput> 方法

定义

读取值。

public ReadOnlyMemory<T> ReadValue<TInput> (ref Orleans.Serialization.Buffers.Reader<TInput> reader, Orleans.Serialization.WireProtocol.Field field);
abstract member ReadValue : Reader * Orleans.Serialization.WireProtocol.Field -> ReadOnlyMemory<'T>
override this.ReadValue : Reader * Orleans.Serialization.WireProtocol.Field -> ReadOnlyMemory<'T>
Public Function ReadValue(Of TInput) (ByRef reader As Reader(Of TInput), field As Field) As ReadOnlyMemory(Of T)

类型参数

TInput

读取器输入类型。

参数

reader
Reader<TInput>

读取器。

field
Field

字段。

返回

值。

实现

适用于