OmEspHelpers
|
Given a consumer, feed in bytes and put out base64 bytes. call done() to emit the last bit of padding. Adapted liberally from * http://web.mit.edu/freebsd/head/contrib/wpa/src/utils/base64.c. More...
#include <OmBmp.h>
Public Member Functions | |
OmBase64Stream (OmIByteStream *consumer) | |
bool | put (uint8_t ch) override |
emit a single byte, overridden by any implementation | |
bool | done () override |
![]() | |
virtual bool | putS (const char *s) |
convenience routine, same as put byte-by-byte. | |
Public Attributes | |
OmIByteStream * | consumer = NULL |
uint8_t | buf [3] |
int | bufSize = 0 |
![]() | |
bool | isDone = false |
Given a consumer, feed in bytes and put out base64 bytes. call done() to emit the last bit of padding. Adapted liberally from * http://web.mit.edu/freebsd/head/contrib/wpa/src/utils/base64.c.