PackageFastBinaryConverterTPackageIFastBinaryConverterWrite 方法
将TPackage类型的对象写入字节块中。
命名空间: TouchSocket.Core程序集: TouchSocket.Core (在 TouchSocket.Core.dll 中) 版本:4.0.0-beta.143+5fcca7a4e70968794985dc3793adc50531308be6
void IFastBinaryConverter.Write<TByteBlock>(
ref TByteBlock byteBlock,
in Object obj
)
where TByteBlock : IBytesWriter
Private Sub Write(Of TByteBlock As IBytesWriter) (
ByRef byteBlock As TByteBlock,
ByRef obj As Object
) Implements IFastBinaryConverter.Write
private abstract Write :
byteBlock : 'TByteBlock byref *
obj : Object byref -> unit when 'TByteBlock : IBytesWriter
private override Write :
byteBlock : 'TByteBlock byref *
obj : Object byref -> unit when 'TByteBlock : IBytesWriter
- byteBlock TByteBlock
- 字节块的引用。
- obj Object
- 要写入的对象。
- TByteBlock
- 实现了IByteBlock接口的字节块类型。
IFastBinaryConverterWriteTWriter(TWriter, Object)