mirror of https://github.com/meshcore-dev/MeshCore
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
312 B
13 lines
312 B
#pragma once
|
|
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
|
|
class Stream {
|
|
public:
|
|
virtual size_t readBytes(uint8_t*, size_t) { return 0; }
|
|
virtual size_t write(const uint8_t*, size_t len) { return len; }
|
|
virtual void print(char) {}
|
|
virtual void print(const char*) {}
|
|
virtual void println() {}
|
|
};
|
|
|