SANEI  1.0.27-229-gef85977e-dirty
sanei_codec_ascii.h File Reference

ASCII codec for network and file transmissions. More...

Go to the source code of this file.


void sanei_codec_ascii_init (Wire *w)
 Initialize the ascii codec. More...

Detailed Description

ASCII codec for network and file transmissions.

Instead translating data to a byte stream this codec uses ASCII hex numbers. Therefore it can be used for streams that are not 8-bit clean or which can only use printable characters. It's currently used for saving/restoring data to/from disk.

See also
sanei_codec_bin.h sanei_net.h sanei_wire.h

Function Documentation

◆ sanei_codec_ascii_init()

void sanei_codec_ascii_init ( Wire *  w)

Initialize the ascii codec.

Set the i/o functions of the Wire to those of the ASCII codec.