Exemplo n.º 1
0
 public static void PackBy(this Stream?stream, Type type, object?value) =>
 DataContractHelper.Pack(type, value, stream);
 public static void PackTo(this object?value, Type type, Stream?stream) =>
 DataContractHelper.Pack(type, value, stream);
Exemplo n.º 3
0
 public static void PackBy <TValue>(this Stream?stream, TValue?value) =>
 DataContractHelper.Pack(value, stream);
 public static void PackTo <TValue>(this TValue?value, Stream?stream) =>
 DataContractHelper.Pack(value, stream);