36   return write(
reinterpret_cast<const uint8_t*
>(str), strlen(str));
 
   41   size_t bytes_written = 0;
 
   42   PGM_P src = (PGM_P) str;
 
   43   for(uint8_t c = 
pgm_read_byte(src); c != 0; ++src, ++bytes_written)
 
   59      return write(
reinterpret_cast<const uint8_t*
>(
"0"), 1);
 
   63   char buf[8 * 
sizeof(val) + 1];
 
   64   char *ptr = &buf[
sizeof(buf) - 1];
 
   68      *--ptr=
"0123456789abcdef"[val % radix];
 
#define pgm_read_byte(var)
 
This File contains an I/O stream used in the NMEA2000 libraries.
 
size_t print(const char *str)
Print string to stream.
 
virtual size_t write(const uint8_t *data, size_t size)=0
Write data to stream.
 
size_t println(const char *str)
Print string and newline to stream.