openDICOM.NET API Reference (openDICOM# Class Library)

ByteConvert.ToBytes Method (String, CharacterRepertoire)

Converts a string to an array of bytes by given DICOM character repertoire.

public static byte[] ToBytes(
   string s,
   CharacterRepertoire characterRepertoire
);

See Also

ByteConvert Class | openDicom.Encoding Namespace | ByteConvert.ToBytes Overload List