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