FastLED 3.9.3
Loading...
Searching...
No Matches
ByteStreamMemory Class Reference

Detailed Description

Definition at line 16 of file bytestreammemory.h.

+ Inheritance diagram for ByteStreamMemory:

Public Member Functions

 ByteStreamMemory (uint32_t size_buffer)
 
bool available (size_t n) const override
 
size_t read (uint8_t *dst, size_t bytesToRead) override
 
void clear ()
 
const char * path () const override
 
size_t write (const uint8_t *src, size_t n)
 
size_t write (const CRGB *src, size_t n)
 
- Public Member Functions inherited from ByteStream
virtual void close ()
 
size_t read (CRGB *dst, size_t n)
 
- Public Member Functions inherited from Referent
virtual int ref_count () const
 

Additional Inherited Members

- Protected Member Functions inherited from Referent
 Referent (const Referent &)
 
Referentoperator= (const Referent &)
 
 Referent (Referent &&)
 
Referentoperator= (Referent &&)
 
virtual void ref ()
 
virtual void unref ()
 
virtual void destroy ()
 

Constructor & Destructor Documentation

◆ ByteStreamMemory()

ByteStreamMemory::ByteStreamMemory ( uint32_t size_buffer)

Definition at line 9 of file bytestreammemory.cpp.

Member Function Documentation

◆ available()

bool ByteStreamMemory::available ( size_t n) const
overridevirtual

Implements ByteStream.

Definition at line 14 of file bytestreammemory.cpp.

◆ clear()

void ByteStreamMemory::clear ( )
inline

Definition at line 22 of file bytestreammemory.h.

◆ path()

const char * ByteStreamMemory::path ( ) const
inlineoverridevirtual

Implements ByteStream.

Definition at line 25 of file bytestreammemory.h.

◆ read()

size_t ByteStreamMemory::read ( uint8_t * dst,
size_t bytesToRead )
overridevirtual

Implements ByteStream.

Definition at line 18 of file bytestreammemory.cpp.

◆ write() [1/2]

size_t ByteStreamMemory::write ( const CRGB * src,
size_t n )

Definition at line 50 of file bytestreammemory.cpp.

◆ write() [2/2]

size_t ByteStreamMemory::write ( const uint8_t * src,
size_t n )

Definition at line 34 of file bytestreammemory.cpp.


The documentation for this class was generated from the following files: