Function dicom_json::to_writer

source ·
pub fn to_writer<W, T>(writer: W, data: T) -> Result<(), Error>
where DicomJson<T>: From<T> + Serialize, W: Write,
Expand description

Serialize a piece of DICOM data to a byte writer.