7#if not defined(ARDUINO_ARCH_ESP32) && not defined(ARDUINO_ARCH_SAM) && \
8 not defined(ARDUINO_API_VERSION) && not defined(ArduinoFake) && \
9 not defined(ARDUINO_ARCH_STM32)
145 printer.print(b ? F(
"true") : F(
"false"));
177#if __BYTE_ORDER != __LITTLE_ENDIAN
178#error "Byte order not supported"
186 for (
int i =
sizeof(
val) - 1;
i >= 0;
i--) {
204 for (
int i =
sizeof(
val) - 1;
i >= 0;
i--) {
206 for (
int j = 7;
j >= 0;
j--) {
257std::ostream &
operator<<(std::ostream &p, HexDump h) {
261 auto hex_nibble_to_char = [](uint8_t nibble) ->
char {
263 return nibble > 9 ? nibble - 10 +
'A' : nibble +
'0';
265 auto printHex = [&](std::ostream &p, uint8_t b) {
266 p << hex_nibble_to_char(b >> 4) << hex_nibble_to_char(b);
269 while (h.length-- > 1) {
#define BEGIN_AH_NAMESPACE
Print & operator<<(Print &os, Cable c)
A class for serial-in/parallel-out shift registers, like the 74HC595 that are connected to the SPI bu...
static constexpr uint16_t length()
Print & printIntegral(Print &printer, T i)
char byteSeparatorPrintStream
static char nibble_to_hex(uint8_t nibble)
void printBin(Print &printer, T val)
uint8_t formatPrintStream
bool boolalphaPrintStream
bool leadingZerosPrintStream
uint8_t precisionPrintStream
void printHex(Print &printer, T val)
enum AH::@2 casePrintStream