Example #1
0
 /// <inheritdoc cref="ToXmlBytesAsync(ITypedElement, FhirXmlSerializationSettings)" />
 public static byte[] ToXmlBytes(this ITypedElement source, FhirXmlSerializationSettings settings = null)
 => SerializationUtil.WriteXmlToBytes(writer => source.WriteTo(writer, settings));