Exemplo n.º 1
0
 public static Task PackByAsync <TValue>(this Stream?stream, TValue?value,
                                         IJsonFormatterResolver?resolver = null) =>
 Utf8JsonHelper.PackAsync(value, stream, resolver);
Exemplo n.º 2
0
 public static Task PackByAsync(this Stream?stream, Type type, object?value,
                                IJsonFormatterResolver?resolver = null) =>
 Utf8JsonHelper.PackAsync(type, value, stream, resolver);
Exemplo n.º 3
0
 public static Task PackToAsync(this object?value, Stream?stream,
                                IJsonFormatterResolver?resolver = null) =>
 Utf8JsonHelper.PackAsync(value, stream, resolver);