FastLED 3.9.7
Loading...
Searching...
No Matches
fl::ByteStreamMemory Class Reference

Detailed Description

Definition at line 16 of file bytestreammemory.h.

+ Inheritance diagram for fl::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 writeCRGB (const CRGB *src, size_t n)
 
- Public Member Functions inherited from fl::ByteStream
virtual void close ()
 
size_t readCRGB (CRGB *dst, size_t n)
 
- Public Member Functions inherited from fl::Referent
virtual int ref_count () const
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ ByteStreamMemory()

fl::ByteStreamMemory::ByteStreamMemory ( uint32_t size_buffer)

Definition at line 12 of file bytestreammemory.cpp.

Member Function Documentation

◆ available()

bool fl::ByteStreamMemory::available ( size_t n) const
overridevirtual

Implements fl::ByteStream.

Definition at line 17 of file bytestreammemory.cpp.

◆ clear()

void fl::ByteStreamMemory::clear ( )
inline

Definition at line 22 of file bytestreammemory.h.

◆ path()

const char * fl::ByteStreamMemory::path ( ) const
inlineoverridevirtual

Implements fl::ByteStream.

Definition at line 25 of file bytestreammemory.h.

◆ read()

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

Implements fl::ByteStream.

Definition at line 21 of file bytestreammemory.cpp.

◆ write()

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

Definition at line 43 of file bytestreammemory.cpp.

◆ writeCRGB()

size_t fl::ByteStreamMemory::writeCRGB ( const CRGB * src,
size_t n )

Definition at line 62 of file bytestreammemory.cpp.


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