W60X_Arduino: BufferedStreamDataSource< TStream > Class Template Reference

Arduino W60X

W60X_Arduino
BufferedStreamDataSource< TStream > Class Template Reference

Inherits DataSource.

Public Member Functions

 BufferedStreamDataSource (TStream &stream, size_t size)
 
size_t available () override
 
const uint8_t * get_buffer (size_t size) override
 
void release_buffer (const uint8_t *buffer, size_t size) override
 

Protected Attributes

TStream & _stream
 
std::unique_ptr< uint8_t[]> _buffer
 
size_t _size
 
size_t _pos = 0
 
size_t _bufferSize = 0
 
size_t _streamPos = 0
 
Generated by   doxygen 1.8.14