コード例 #1
0
 public static Task PackToAsync(this object?value, Type type, Stream?stream,
                                MessagePackSerializerOptions?options = null, CancellationToken cancellationToken = default) =>
 MessagePackHelper.PackAsync(type, value, stream, options, cancellationToken);
コード例 #2
0
 public static Task PackToAsync <TValue>(this TValue?value, Stream?stream,
                                         MessagePackSerializerOptions?options = null, CancellationToken cancellationToken = default) =>
 MessagePackHelper.PackAsync(value, stream, options, cancellationToken);