Skip to content

Latest commit

 

History

History
63 lines (39 loc) · 1.05 KB

io.rst

File metadata and controls

63 lines (39 loc) · 1.05 KB

Input / output

Convenience functions for reading and writing. A template class I, is used as an abstraction for I/O devices like serial ports, wire interfaces and network interfaces like ethernet. An overview of the required methods of an I/O plugin is described in the plugins section.

Printing

#include "print.tcc"

The following functions take care of serialisation of:

  • Values of basic types.
  • C strings (char[], char*, char const[], char const*).
  • C++ Strings.
  • PROGMEM strings (F() macro).

Finally, a print function that takes an arbitrary amount of parameters is provided for convenience.

Functions

print

Reading

Read functions for deserialisation.

#include "read.tcc"

Functions

read

Writing

Write functions for serialisation.

#include "read.tcc"

Functions

write