The text encoder.Ref: https://developer.mozilla.org/en-US/docs/Web/API/TextEncoder.Sourcesrc/dicom/dicomWriter.js, line 501