Converts a string into an array of bytes by this DICOM transfer syntax instance's character repertoire.
TransferSyntax Class | openDicom.Encoding Namespace