FastLED 3.9.15
Loading...
Searching...
No Matches
fl::net::http::ChunkedReader Class Reference

Detailed Description

Definition at line 32 of file chunked_encoding.h.

#include <chunked_encoding.h>

+ Collaboration diagram for fl::net::http::ChunkedReader:

Public Member Functions

 ChunkedReader () FL_NOEXCEPT
 
void feed (fl::span< const u8 > data)
 
bool hasChunk () const
 
bool isFinal () const
 
size_t nextChunkSize () const
 
ChunkedReadResult readChunk (fl::span< u8 > out)
 
void reset ()
 

Private Types

enum  State { READ_SIZE , READ_DATA , READ_TRAILER , STATE_FINAL }
 

Private Member Functions

void consume (size_t n)
 
bool hasCRLF () const
 
bool parseChunkSize (size_t &outSize)
 

Private Attributes

fl::vector< u8mBuffer
 
size_t mBytesRead
 
fl::vector< fl::vector< u8 > > mChunks
 
size_t mChunkSize
 
fl::vector< u8mCurrentChunk
 
State mState
 

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