Encodes text/binary data into formats supported by the content-transfer-encoding field.