# Class Ftp_data_endpoint.data_converter

    class data_converter : fromrepr:text_data_repr -> torepr:text_data_repr -> Netchannels.io_obj_channel

Creates a data conversion pipe converting `fromrepr` to `torepr`.

For simplicity, in an ``ASCII` input stream the CR characters are discarded, and the LF characters are taken as newline characters. In an output ``ASCII` stream, the CR/LF sequence is correctly created for newline characters.