83 virtual size_t write(
const uint8_t* data,
size_t size) = 0;
91 size_t print(
const char* str);
95 size_t print(
const __FlashStringHelper* str);
96 size_t println(
const __FlashStringHelper* str);
106 size_t print(
int val, uint8_t radix = 10);
114 size_t println(
const char *str);
123 size_t println(
int val, uint8_t radix = 10);
Type definitions and utility macros used in the NMEA2000 libraries.
Streaming Class to handle all Streams generated by the Library.
virtual int peek()=0
reads a byte from the file without advancing to the next one
virtual int read()=0
reads characters from an incoming stream to the buffer
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.