FastBinaryFormatter 类
快速二进制序列化。
命名空间: TouchSocket.Core程序集: TouchSocket.Core (在 TouchSocket.Core.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
public static class FastBinaryFormatter
Public NotInheritable Class FastBinaryFormatter
[<AbstractClassAttribute>]
[<SealedAttribute>]
type FastBinaryFormatter = class end
- Inheritance
- Object FastBinaryFormatter
AddFastBinaryConverter(Type, IFastBinaryConverter) |
为指定类型添加一个快速二进制转换器。
|
AddFastBinaryConverterTType(IFastBinaryConverter) |
为指定类型添加一个快速二进制转换器。
|
AddFastBinaryConverterTType, TConverter |
添加一个新的快速二进制转换器,该转换器由指定的泛型参数提供。
|
DeserializeT(Byte, FastSerializerContext) |
将字节数组反序列化为指定类型的实例。
|
DeserializeT(ByteBlock, FastSerializerContext) |
反序列化字节块为指定类型的对象。
|
DeserializeT(ValueByteBlock, FastSerializerContext) |
反序列化字节块为指定类型。
|
DeserializeTByteBlock(TByteBlock, Type, FastSerializerContext) |
使用指定的序列化上下文从字节块中反序列化对象。
|
DeserializeTByteBlock, T(TByteBlock, FastSerializerContext) |
使用指定的序列化上下文从字节块中反序列化出指定类型的对象。
|
SerializeT(ByteBlock, T, FastSerializerContext) |
序列化给定对象并将其写入字节块。
|
SerializeTByteBlock, T(TByteBlock, T, FastSerializerContext) |
使用指定的序列化上下文将对象序列化到提供的字节块中。
|
SerializeToBytesT |
使用指定的序列化上下文将对象序列化为字节数组。
|