FastBinaryConverterTIFastBinaryConverterWrite 方法
通过此实现将对象写入字节块。
命名空间: TouchSocket.Core程序集: TouchSocket.Core (在 TouchSocket.Core.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
void IFastBinaryConverter.Write<TByteBlock>(
ref TByteBlock byteBlock,
in Object obj
)
where TByteBlock : IByteBlock
Private Sub Write(Of TByteBlock As IByteBlock) (
ByRef byteBlock As TByteBlock,
ByRef obj As Object
) Implements IFastBinaryConverter.Write
private abstract Write :
byteBlock : 'TByteBlock byref *
obj : Object byref -> unit when 'TByteBlock : IByteBlock
private override Write :
byteBlock : 'TByteBlock byref *
obj : Object byref -> unit when 'TByteBlock : IByteBlock
- byteBlock TByteBlock
- 将要包含对象数据的字节块。
- obj Object
- 要写入的对象实例。
- TByteBlock
- 字节块的类型,实现了IByteBlock接口。
IFastBinaryConverterWriteTByteBlock(TByteBlock, Object)