FastBinaryConverterTIFastBinaryConverterRead 方法
通过此实现从字节块中读取对象。
命名空间: TouchSocket.Core程序集: TouchSocket.Core (在 TouchSocket.Core.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
Object IFastBinaryConverter.Read<TByteBlock>(
ref TByteBlock byteBlock,
Type type
)
where TByteBlock : IByteBlock
Private Function Read(Of TByteBlock As IByteBlock) (
ByRef byteBlock As TByteBlock,
type As Type
) As Object Implements IFastBinaryConverter.Read
private abstract Read :
byteBlock : 'TByteBlock byref *
type : Type -> Object when 'TByteBlock : IByteBlock
private override Read :
byteBlock : 'TByteBlock byref *
type : Type -> Object when 'TByteBlock : IByteBlock
- byteBlock TByteBlock
- 包含对象数据的字节块。
- type Type
- 要读取的对象的类型。
- TByteBlock
- 字节块的类型,实现了IByteBlock接口。
Object从字节块中读取的对象实例。
IFastBinaryConverterReadTByteBlock(TByteBlock, Type)