7 #include <satcat5/ntp_header.h>
35 refid = rd->read_u32();
Abstract API for reading byte-streams and packets.
u8 read_u8()
One of many functions for reading integer/floating point values, see details.
virtual unsigned get_read_ready() const =0
How many bytes can be read without blocking?
Abstract API for writing byte-streams and packets.
void write_u8(u8 data)
One of many functions for writing integer/floating point values, see details.
Internal buffer used by the Log class.
void wr_h32(u32 val, unsigned nhex=8)
Write an integer (u32) in hexadecimal format.
void wr_str(const char *str)
Write a null-terminated UTF-8 string.
void wr_h64(u64 val, unsigned nhex=16)
Write an integer (u64) in hexadecimal format.
void wr_dec(u32 val)
Legacy alias for wr_d32.
Diagnostic logging to UART and/or Ethernet ports.