|
| TCPSocketReader (BaseSocket &socket, size_t bufferSize=16384) |
|
void | open () |
|
void | close () noexcept |
|
size_t | read (uint8_t *destination, size_t sz, char delimiter, bool read_line, struct sockaddr_in *from=nullptr) |
|
size_t | readLine (Buffer &dest, char delimiter) |
|
size_t | availableBytes () const |
|
void | readMoreFromSocket (int availableBytes) |
|
| Buffer (const String &str) |
|
| Buffer (const Buffer &other)=default |
|
| Buffer (Buffer &&other) noexcept=default |
|
| ~Buffer () noexcept override=default |
|
Buffer & | operator= (Buffer &&other) DOESNT_THROW=default |
|
Buffer & | operator= (const Buffer &other)=default |
|
void | append (char ch) override |
|
void | append (const char *data, size_t sz=0) override |
|
void | append (const uint8_t *data, size_t sz) override |
|
template<class T > |
void | append (T val) |
|
void | append (const std::string &str) |
|
void | append (const String &str) |
|
void | append (const Buffer &buffer) |
|
uint8_t & | operator[] (size_t index) |
|
const uint8_t & | operator[] (size_t index) const |
|
bool | operator== (const Buffer &other) const |
|
bool | operator!= (const Buffer &other) const |
|
void | loadFromFile (const fs::path &fileName) |
|
void | saveToFile (const fs::path &fileName) const |
|
Buffer & | operator= (const String &str) |
|
Buffer & | operator= (const char *str) |
|
| operator String () const |
|
| BufferStorage () |
|
| BufferStorage (size_t sz) |
|
| BufferStorage (const BufferStorage &bufferStorage)=default |
|
| BufferStorage (BufferStorage &&bufferStorage) noexcept=default |
|
template<typename T > |
| BufferStorage (const T *data, size_t sz) |
|
| BufferStorage () |
|
| BufferStorage (size_t sz) |
|
| BufferStorage (const BufferStorage &bufferStorage)=default |
|
| BufferStorage (BufferStorage &&bufferStorage) noexcept=default |
|
virtual | ~BufferStorage ()=default |
|
BufferStorage & | operator= (const BufferStorage &bufferStorage)=default |
|
BufferStorage & | operator= (BufferStorage &&bufferStorage) noexcept=default |
|
template<typename T > |
| BufferStorage (const T *data, size_t sz) |
|
uint8_t * | data () |
|
const uint8_t * | data () const |
|
const char * | c_str () const |
|
bool | empty () const |
|
virtual void | checkSize (size_t sz) |
|
template<typename T > |
void | set (const T *data, size_t sz) |
|
void | set (const BufferStorage &data) |
|
void | set (const String &data) |
|
size_t | capacity () const |
|
size_t | length () const |
|
size_t | bytes () const |
|
void | bytes (size_t b) |
|
virtual void | append (char ch) |
|
virtual void | append (const char *data, size_t sz=0) |
|
virtual void | append (const uint8_t *data, size_t sz) |
|
void | reset (size_t sz=0) |
|
void | fill (char ch, size_t count) |
|
void | erase (size_t offset, size_t length) |
|