pub fn dcts_to_dctf(document: Vec<u8>) -> Result<Vec<u8>>
Converts Dcts format bytes to DcTF format bytes.
Returns an error if the document cannot be parsed into a DcString.
DcString