1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-24 19:42:27 +03:00

Improvements for MD5Builder with Stream

This commit is contained in:
Andrew Melvin
2015-12-31 15:04:26 +00:00
parent dff07001a5
commit 7d54f5211c
4 changed files with 46 additions and 3 deletions

View File

@ -59,7 +59,9 @@ public:
int read() override;
int peek() override;
void flush() override;
size_t readBytes(char *buffer, size_t length) override {
return read((uint8_t*)buffer, length);
}
size_t read(uint8_t* buf, size_t size);
bool seek(uint32_t pos, SeekMode mode);
size_t position() const;