示例#1
0
 public static object Deserialize(Memory <byte> bytes, MessagePackSerializerOptions options = null, CancellationToken cancellationToken = default) => Deserialize <object>(bytes, options ?? DefaultOptions, cancellationToken);
示例#2
0
 public static ValueTask <object> DeserializeAsync(Stream stream, MessagePackSerializerOptions options = null, CancellationToken cancellationToken = default) => DeserializeAsync <object>(stream, options ?? DefaultOptions, cancellationToken);
示例#3
0
 public static object Deserialize(Stream stream, MessagePackSerializerOptions options = null, CancellationToken cancellationToken = default) => Deserialize <object>(stream, options ?? DefaultOptions, cancellationToken);
示例#4
0
 public static object Deserialize(ref MessagePackReader reader, MessagePackSerializerOptions options = null) => Deserialize <object>(ref reader, options ?? DefaultOptions);
示例#5
0
 public static byte[] Serialize(object obj, MessagePackSerializerOptions options = null, CancellationToken cancellationToken = default) => Serialize <object>(obj, options ?? DefaultOptions, cancellationToken);
示例#6
0
 public static void Serialize(IBufferWriter <byte> writer, object obj, MessagePackSerializerOptions options = null, CancellationToken cancellationToken = default) => Serialize <object>(writer, obj, options ?? DefaultOptions, cancellationToken);
示例#7
0
 public static void Serialize(ref MessagePackWriter writer, object obj, MessagePackSerializerOptions options = null) => Serialize <object>(ref writer, obj, options ?? DefaultOptions);