Improved printable implementation; data reading with macro

This commit is contained in:
dario
2024-06-26 17:41:56 +02:00
committed by dario
parent b9ccb2d65f
commit ebb14896b8
7 changed files with 56 additions and 16 deletions

View File

@@ -28,12 +28,12 @@ namespace sta
void print(const char * str, size_t length, bool newline = false) override;
/**
* @brief Print string.
*
* @param str String buffer
* @param length String length
* @brief Read bytes.
*
* @param buffer Byte buffer
* @param length Buffer length
*/
void read(char * str, size_t length) override;
void read(uint8_t * buffer, size_t length) override;
};
} // namespace sta