ESP32 PSRAM Library
|
Base class for all character and binary stream operations. More...
#include <Stream.h>
Public Types | |
using | oneShotMs = esp8266::polledTimeout::oneShotFastMs |
Time management for stream operations. | |
enum class | Report { Success = 0 , TimedOut , ReadError , WriteError , ShortOperation } |
Status codes for stream transfer operations. More... | |
Public Member Functions | |
Stream () | |
Default constructor. | |
virtual | ~Stream () |
Virtual destructor. | |
virtual int | available ()=0 |
Get the number of bytes available to read. More... | |
virtual int | availableForWrite () |
Get the number of bytes available in the write buffer. More... | |
void | clearWriteError () |
Clear the write error state. | |
bool | find (char target) |
Search for a single character in the stream. More... | |
bool | find (const char *target) |
Search for a string in the stream. More... | |
bool | find (const char *target, size_t length) |
Search for a string of given length in the stream. More... | |
bool | find (const uint8_t *target, size_t length) |
Search for a string of given length in the stream (uint8_t variant) More... | |
bool | find (uint8_t *target) |
Search for a string in the stream (uint8_t variant) More... | |
bool | findUntil (const char *target, const char *terminator) |
Search for a string until a terminator is found. More... | |
bool | findUntil (const char *target, size_t targetLen, const char *terminate, size_t termLen) |
Search for a string of given length until a terminator is found. More... | |
bool | findUntil (const uint8_t *target, const char *terminator) |
Search for a string until a terminator is found (uint8_t variant) More... | |
bool | findUntil (const uint8_t *target, size_t targetLen, const char *terminate, size_t termLen) |
Search for a string of given length until a terminator is found (uint8_t variant) More... | |
virtual void | flush () |
Flush the output buffer. More... | |
Report | getLastSendReport () const |
Get the result of the last send operation. More... | |
unsigned long | getTimeout () const |
Get the current timeout setting. More... | |
int | getWriteError () |
Get the current write error state. More... | |
virtual bool | hasPeekBufferAPI () const |
Check if this stream implements the peek buffer API. More... | |
virtual bool | inputCanTimeout () |
Check if input operations can timeout. More... | |
virtual bool | outputCanTimeout () |
Check if the output can timeout. More... | |
float | parseFloat () |
Parse a float from the stream. More... | |
long | parseInt () |
Parse an integer from the stream. More... | |
virtual int | peek ()=0 |
Peek at the next byte without removing it from the stream. More... | |
virtual size_t | peekAvailable () |
Get the number of bytes available in the peek buffer. More... | |
virtual const char * | peekBuffer () |
Get a pointer to the peek buffer. More... | |
virtual void | peekConsume (size_t consume) |
Consume bytes from the peek buffer. More... | |
size_t | print (char) |
Print a single character. More... | |
size_t size_t size_t | print (const __FlashStringHelper *) |
Print a flash string. More... | |
size_t | print (const char[]) |
Print a null-terminated string. More... | |
size_t | print (const Printable &) |
Print a Printable object. More... | |
size_t | print (const String &) |
Print a String object. More... | |
size_t | print (double, int=2) |
Print a floating point value. More... | |
size_t | print (int, int=DEC) |
Print an integer value. More... | |
size_t | print (long long, int=DEC) |
Print a long long integer value. More... | |
size_t | print (long, int=DEC) |
Print a long integer value. More... | |
size_t | print (unsigned char, int=DEC) |
Print an unsigned byte value. More... | |
size_t | print (unsigned int, int=DEC) |
Print an unsigned integer value. More... | |
size_t | print (unsigned long long, int=DEC) |
Print an unsigned long long integer value. More... | |
size_t | print (unsigned long, int=DEC) |
Print an unsigned long integer value. More... | |
size_t | printf (const char *format,...) __attribute__((format(printf |
Print formatted data (printf style) More... | |
size_t size_t | printf_P (PGM_P format,...) __attribute__((format(printf |
Print formatted data from program memory (printf style) More... | |
size_t | println (char) |
Print a single character followed by a newline. More... | |
size_t | println (const __FlashStringHelper *) |
Print a flash string followed by a newline. More... | |
size_t | println (const char[]) |
Print a null-terminated string followed by a newline. More... | |
size_t | println (const Printable &) |
Print a Printable object followed by a newline. More... | |
size_t | println (const String &s) |
Print a String object followed by a newline. More... | |
size_t | println (double, int=2) |
Print a floating point value followed by a newline. More... | |
size_t | println (int, int=DEC) |
Print an integer value followed by a newline. More... | |
size_t | println (long long, int=DEC) |
Print a long long integer value followed by a newline. More... | |
size_t | println (long, int=DEC) |
Print a long integer value followed by a newline. More... | |
size_t | println (unsigned char, int=DEC) |
Print an unsigned byte value followed by a newline. More... | |
size_t | println (unsigned int, int=DEC) |
Print an unsigned integer value followed by a newline. More... | |
size_t | println (unsigned long long, int=DEC) |
Print an unsigned long long integer value followed by a newline. More... | |
size_t | println (unsigned long, int=DEC) |
Print an unsigned long integer value followed by a newline. More... | |
size_t | println (void) |
Print just a newline. More... | |
template<> | |
size_t | printNumber (double number, uint8_t digits) |
Specialized template for printing floating point numbers. More... | |
virtual int | read ()=0 |
Read a single byte from the stream. More... | |
int | read (char *buffer, size_t len) |
Read multiple bytes from the stream (char variant) More... | |
virtual int | read (uint8_t *buffer, size_t len) |
Read multiple bytes from the stream. More... | |
virtual size_t | readBytes (char *buffer, size_t length) |
Read bytes from the stream into a buffer. More... | |
virtual size_t | readBytes (uint8_t *buffer, size_t length) |
Read bytes from the stream into a buffer (uint8_t variant) More... | |
size_t | readBytesUntil (char terminator, char *buffer, size_t length) |
Read bytes until a terminator character is found. More... | |
size_t | readBytesUntil (char terminator, uint8_t *buffer, size_t length) |
Read bytes until a terminator character is found (uint8_t variant) More... | |
virtual String | readString () |
Read a string from the stream. More... | |
String | readStringUntil (char terminator) |
Read a string until a terminator character is found. More... | |
String | readStringUntil (const char *terminator, uint32_t untilTotalNumberOfOccurrences=1) |
Read a string until a terminator string is found a specific number of times. More... | |
size_t | sendAll (Print &to, const oneShotMs::timeType timeoutMs=oneShotMs::neverExpires) |
Transfer all data with timeout (deprecated) More... | |
size_t | sendAll (Print *to, const oneShotMs::timeType timeoutMs=oneShotMs::neverExpires) |
Transfer all data with timeout (deprecated) More... | |
size_t | sendAll (Stream &&to, const oneShotMs::timeType timeoutMs=oneShotMs::neverExpires) |
Transfer all data with timeout. More... | |
size_t | sendAll (Stream &to, const oneShotMs::timeType timeoutMs=oneShotMs::neverExpires) |
Transfer all data with timeout. More... | |
size_t | sendAll (Stream *to, const oneShotMs::timeType timeoutMs=oneShotMs::neverExpires) |
Transfer all data with timeout. More... | |
size_t | sendAvailable (Print &to) |
Transfer available data without waiting (deprecated) More... | |
size_t | sendAvailable (Print *to) |
Transfer available data without waiting (deprecated) More... | |
size_t | sendAvailable (Stream &&to) |
Transfer available data without waiting. More... | |
size_t | sendAvailable (Stream &to) |
Transfer available data without waiting. More... | |
size_t | sendAvailable (Stream *to) |
Transfer available data without waiting. More... | |
size_t | sendSize (Print &to, const ssize_t maxLen, const oneShotMs::timeType timeoutMs=oneShotMs::neverExpires) |
Transfer a specific amount of data with timeout (deprecated) More... | |
size_t | sendSize (Print *to, const ssize_t maxLen, const oneShotMs::timeType timeoutMs=oneShotMs::neverExpires) |
Transfer a specific amount of data with timeout (deprecated) More... | |
size_t | sendSize (Stream &&to, const ssize_t maxLen, const oneShotMs::timeType timeoutMs=oneShotMs::neverExpires) |
Transfer a specific amount of data with timeout. More... | |
size_t | sendSize (Stream &to, const ssize_t maxLen, const oneShotMs::timeType timeoutMs=oneShotMs::neverExpires) |
Transfer a specific amount of data with timeout. More... | |
size_t | sendSize (Stream *to, const ssize_t maxLen, const oneShotMs::timeType timeoutMs=oneShotMs::neverExpires) |
Transfer a specific amount of data with timeout. More... | |
size_t | sendUntil (Print &to, const int readUntilChar, const oneShotMs::timeType timeoutMs=oneShotMs::neverExpires) |
Transfer data until a specific character is found (deprecated) More... | |
size_t | sendUntil (Print *to, const int readUntilChar, const oneShotMs::timeType timeoutMs=oneShotMs::neverExpires) |
Transfer data until a specific character is found (deprecated) More... | |
size_t | sendUntil (Stream &&to, const int readUntilChar, const oneShotMs::timeType timeoutMs=oneShotMs::neverExpires) |
Transfer data until a specific character is found. More... | |
size_t | sendUntil (Stream &to, const int readUntilChar, const oneShotMs::timeType timeoutMs=oneShotMs::neverExpires) |
Transfer data until a specific character is found. More... | |
size_t | sendUntil (Stream *to, const int readUntilChar, const oneShotMs::timeType timeoutMs=oneShotMs::neverExpires) |
Transfer data until a specific character is found. More... | |
void | setTimeout (unsigned long timeout) |
Set the timeout for stream operations. More... | |
virtual ssize_t | streamRemaining () |
Get the number of bytes remaining in the stream. More... | |
size_t | write (char c) |
Write a char value as a byte. More... | |
size_t | write (const char *buffer, size_t size) |
Write a buffer of characters to the output. More... | |
size_t | write (const char *str) |
Write a null-terminated string to the output. More... | |
virtual size_t | write (const uint8_t *buffer, size_t size) |
Write a buffer of bytes to the output. More... | |
size_t | write (int t) |
Write an int value as a byte. More... | |
size_t | write (int8_t c) |
Write a signed byte as an unsigned byte. More... | |
size_t | write (long long t) |
Write a long long value as a byte. More... | |
size_t | write (long t) |
Write a long value as a byte. More... | |
size_t | write (short t) |
Write a short value as a byte. More... | |
virtual size_t | write (uint8_t)=0 |
Write a single byte to the output. More... | |
size_t | write (unsigned int t) |
Write an unsigned int value as a byte. More... | |
size_t | write (unsigned long long t) |
Write an unsigned long long value as a byte. More... | |
size_t | write (unsigned long t) |
Write an unsigned long value as a byte. More... | |
size_t | write (unsigned short t) |
Write an unsigned short value as a byte. More... | |
Static Public Attributes | |
static constexpr int | temporaryStackBufferSize = 64 |
Size of temporary stack buffer for stream transfers. | |
Protected Member Functions | |
float | parseFloat (char skipChar) |
Parse a float with custom skip character. More... | |
long | parseInt (char skipChar) |
Parse an integer with custom skip character. More... | |
int | peekNextDigit (bool detectDecimal=false) |
Peek at the next digit in the stream. More... | |
size_t | sendGeneric (Print *to, const ssize_t len=-1, const int readUntilChar=-1, oneShotMs::timeType timeoutMs=oneShotMs::neverExpires) |
Generic transfer method for Print objects (deprecated) More... | |
size_t | sendGeneric (Stream *to, const ssize_t len=-1, const int readUntilChar=-1, oneShotMs::timeType timeoutMs=oneShotMs::neverExpires) |
Generic transfer method for Stream objects. More... | |
size_t | SendGenericPeekBuffer (Print *to, const ssize_t len, const int readUntilChar, const oneShotMs::timeType timeoutMs) |
Transfer using peek buffer API. More... | |
size_t | SendGenericRegular (Print *to, const ssize_t len, const oneShotMs::timeType timeoutMs) |
Transfer using regular read. More... | |
size_t | SendGenericRegularUntil (Print *to, const ssize_t len, const int readUntilChar, const oneShotMs::timeType timeoutMs) |
Transfer using regular read until character. More... | |
void | setReport (Report report) |
Set the result of a send operation. More... | |
void | setWriteError (int err=1) |
Set the write error flag. More... | |
int | timedPeek () |
Peek at the next character with timeout. More... | |
int | timedRead () |
Read a character with timeout. More... | |
Protected Attributes | |
unsigned long | _startMillis |
Used for timeout measurement. | |
unsigned long | _timeout = 1000 |
Number of milliseconds to wait for the next char before aborting timed read. | |
Base class for all character and binary stream operations.
The Stream class adds buffering, timeout management, parsing operations, and data transfer capabilities to the basic Print class. It provides methods for reading and manipulating data from streams such as Serial ports, network connections, and files.
|
strong |
|
pure virtual |
Get the number of bytes available to read.
Implemented in esp32_psram::RingBufferStream< VectorType >, and esp32_psram::InMemoryFile< VectorType >.
|
inlinevirtualinherited |
Get the number of bytes available in the write buffer.
Reimplemented in esp32_psram::RingBufferStream< VectorType >.
|
inline |
Search for a single character in the stream.
target | Character to search for |
bool Stream::find | ( | const char * | target | ) |
Search for a string in the stream.
target | The string to search for |
bool Stream::find | ( | const char * | target, |
size_t | length | ||
) |
Search for a string of given length in the stream.
target | The string to search for |
length | Length of the target string |
|
inline |
Search for a string of given length in the stream (uint8_t variant)
target | The string to search for |
length | Length of the target string |
|
inline |
Search for a string in the stream (uint8_t variant)
target | The string to search for |
bool Stream::findUntil | ( | const char * | target, |
const char * | terminator | ||
) |
Search for a string until a terminator is found.
target | The string to search for |
terminator | String that terminates the search |
bool Stream::findUntil | ( | const char * | target, |
size_t | targetLen, | ||
const char * | terminate, | ||
size_t | termLen | ||
) |
Search for a string of given length until a terminator is found.
target | The string to search for |
targetLen | Length of the target string |
terminate | String that terminates the search |
termLen | Length of the terminator string |
|
inline |
Search for a string until a terminator is found (uint8_t variant)
target | The string to search for |
terminator | String that terminates the search |
|
inline |
Search for a string of given length until a terminator is found (uint8_t variant)
target | The string to search for |
targetLen | Length of the target string |
terminate | String that terminates the search |
termLen | Length of the terminator string |
|
inlinevirtualinherited |
Flush the output buffer.
This function should wait for all outgoing characters to be sent. The output buffer should be empty after this call. Empty implementation by default in Print class.
Reimplemented in esp32_psram::RingBufferStream< VectorType >, and esp32_psram::InMemoryFile< VectorType >.
|
inline |
Get the result of the last send operation.
|
inline |
Get the current timeout setting.
|
inlineinherited |
Get the current write error state.
|
inlinevirtual |
Check if this stream implements the peek buffer API.
|
inlinevirtual |
Check if input operations can timeout.
|
inlinevirtualinherited |
Check if the output can timeout.
By default, write operations can timeout (like for network or serial). Child classes can override this to false (like String).
float Stream::parseFloat | ( | ) |
Parse a float from the stream.
|
protected |
Parse a float with custom skip character.
skipChar | Character to ignore during parsing |
long Stream::parseInt | ( | ) |
Parse an integer from the stream.
|
protected |
Parse an integer with custom skip character.
skipChar | Character to ignore during parsing |
|
pure virtual |
Peek at the next byte without removing it from the stream.
Implemented in esp32_psram::RingBufferStream< VectorType >, and esp32_psram::InMemoryFile< VectorType >.
|
inlinevirtual |
Get the number of bytes available in the peek buffer.
|
inlinevirtual |
Get a pointer to the peek buffer.
|
inlinevirtual |
Consume bytes from the peek buffer.
consume | Number of bytes to consume |
|
protected |
Peek at the next digit in the stream.
detectDecimal | Whether to consider decimal points as valid parts of numbers |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
Print a floating point value.
n | Value to print |
digits | Number of decimal places to display (default: 2) |
|
inherited |
Print an integer value.
n | Value to print |
base | Number base to use (default: DEC) |
|
inherited |
Print a long long integer value.
n | Value to print |
base | Number base to use (default: DEC) |
|
inherited |
Print a long integer value.
n | Value to print |
base | Number base to use (default: DEC) |
|
inherited |
Print an unsigned byte value.
b | Value to print |
base | Number base to use (default: DEC) |
|
inherited |
Print an unsigned integer value.
n | Value to print |
base | Number base to use (default: DEC) |
|
inherited |
Print an unsigned long long integer value.
n | Value to print |
base | Number base to use (default: DEC) |
|
inherited |
Print an unsigned long integer value.
n | Value to print |
base | Number base to use (default: DEC) |
|
inherited |
Print formatted data (printf style)
format | Format string |
... | Variable arguments for format string |
|
inherited |
Print formatted data from program memory (printf style)
format | Format string in program memory |
... | Variable arguments for format string |
|
inherited |
Print a single character followed by a newline.
c | Character to print |
|
inherited |
Print a flash string followed by a newline.
str | Flash string to print |
|
inherited |
Print a null-terminated string followed by a newline.
str | String to print |
|
inherited |
Print a Printable object followed by a newline.
obj | Object to print |
|
inherited |
Print a String object followed by a newline.
s | String to print |
|
inherited |
Print a floating point value followed by a newline.
n | Value to print |
digits | Number of decimal places to display (default: 2) |
|
inherited |
Print an integer value followed by a newline.
n | Value to print |
base | Number base to use (default: DEC) |
|
inherited |
Print a long long integer value followed by a newline.
n | Value to print |
base | Number base to use (default: DEC) |
|
inherited |
Print a long integer value followed by a newline.
n | Value to print |
base | Number base to use (default: DEC) |
|
inherited |
Print an unsigned byte value followed by a newline.
b | Value to print |
base | Number base to use (default: DEC) |
|
inherited |
Print an unsigned integer value followed by a newline.
n | Value to print |
base | Number base to use (default: DEC) |
|
inherited |
Print an unsigned long long integer value followed by a newline.
n | Value to print |
base | Number base to use (default: DEC) |
|
inherited |
Print an unsigned long integer value followed by a newline.
n | Value to print |
base | Number base to use (default: DEC) |
|
inherited |
Print just a newline.
|
inherited |
Specialized template for printing floating point numbers.
number | The floating point number to print |
digits | The number of decimal places to display |
|
pure virtual |
Read a single byte from the stream.
Implemented in esp32_psram::RingBufferStream< VectorType >, and esp32_psram::InMemoryFile< VectorType >.
|
inline |
Read multiple bytes from the stream (char variant)
buffer | Buffer to store the data |
len | Maximum number of bytes to read |
|
virtual |
Read multiple bytes from the stream.
buffer | Buffer to store the data |
len | Maximum number of bytes to read |
|
virtual |
Read bytes from the stream into a buffer.
buffer | Buffer to store the data |
length | Maximum number of bytes to read |
Reimplemented in esp32_psram::RingBufferStream< VectorType >, and esp32_psram::InMemoryFile< VectorType >.
|
inlinevirtual |
Read bytes from the stream into a buffer (uint8_t variant)
buffer | Buffer to store the data |
length | Maximum number of bytes to read |
Reimplemented in esp32_psram::RingBufferStream< VectorType >.
size_t Stream::readBytesUntil | ( | char | terminator, |
char * | buffer, | ||
size_t | length | ||
) |
Read bytes until a terminator character is found.
terminator | Character that terminates the read |
buffer | Buffer to store the data |
length | Maximum number of bytes to read |
|
inline |
Read bytes until a terminator character is found (uint8_t variant)
terminator | Character that terminates the read |
buffer | Buffer to store the data |
length | Maximum number of bytes to read |
|
virtual |
Read a string from the stream.
String Stream::readStringUntil | ( | char | terminator | ) |
Read a string until a terminator character is found.
terminator | Character that terminates the read |
String Stream::readStringUntil | ( | const char * | terminator, |
uint32_t | untilTotalNumberOfOccurrences = 1 |
||
) |
Read a string until a terminator string is found a specific number of times.
terminator | String that terminates the read |
untilTotalNumberOfOccurrences | Number of times the terminator must be found |
|
inline |
Transfer all data with timeout (deprecated)
to | Destination stream |
timeoutMs | Timeout in milliseconds |
|
inline |
Transfer all data with timeout (deprecated)
to | Destination stream |
timeoutMs | Timeout in milliseconds |
|
inline |
Transfer all data with timeout.
to | Destination stream |
timeoutMs | Timeout in milliseconds |
|
inline |
Transfer all data with timeout.
to | Destination stream |
timeoutMs | Timeout in milliseconds |
|
inline |
Transfer all data with timeout.
to | Destination stream |
timeoutMs | Timeout in milliseconds |
|
inline |
Transfer available data without waiting (deprecated)
to | Destination stream |
|
inline |
Transfer available data without waiting (deprecated)
to | Destination stream |
|
inline |
Transfer available data without waiting.
to | Destination stream |
|
inline |
Transfer available data without waiting.
to | Destination stream |
|
inline |
Transfer available data without waiting.
to | Destination stream |
|
protected |
Generic transfer method for Print objects (deprecated)
to | Destination stream |
len | Maximum number of bytes to transfer (-1 for unlimited) |
readUntilChar | Character to stop at (-1 for none) |
timeoutMs | Timeout in milliseconds |
|
protected |
Generic transfer method for Stream objects.
to | Destination stream |
len | Maximum number of bytes to transfer (-1 for unlimited) |
readUntilChar | Character to stop at (-1 for none) |
timeoutMs | Timeout in milliseconds |
|
protected |
Transfer using peek buffer API.
to | Destination stream |
len | Maximum number of bytes to transfer |
readUntilChar | Character to stop at |
timeoutMs | Timeout in milliseconds |
|
protected |
Transfer using regular read.
to | Destination stream |
len | Maximum number of bytes to transfer |
timeoutMs | Timeout in milliseconds |
|
protected |
Transfer using regular read until character.
to | Destination stream |
len | Maximum number of bytes to transfer |
readUntilChar | Character to stop at |
timeoutMs | Timeout in milliseconds |
|
inline |
Transfer a specific amount of data with timeout (deprecated)
to | Destination stream |
maxLen | Maximum number of bytes to transfer |
timeoutMs | Timeout in milliseconds |
|
inline |
Transfer a specific amount of data with timeout (deprecated)
to | Destination stream |
maxLen | Maximum number of bytes to transfer |
timeoutMs | Timeout in milliseconds |
|
inline |
Transfer a specific amount of data with timeout.
to | Destination stream |
maxLen | Maximum number of bytes to transfer |
timeoutMs | Timeout in milliseconds |
|
inline |
Transfer a specific amount of data with timeout.
to | Destination stream |
maxLen | Maximum number of bytes to transfer |
timeoutMs | Timeout in milliseconds |
|
inline |
Transfer a specific amount of data with timeout.
to | Destination stream |
maxLen | Maximum number of bytes to transfer |
timeoutMs | Timeout in milliseconds |
|
inline |
Transfer data until a specific character is found (deprecated)
to | Destination stream |
readUntilChar | Character to stop at |
timeoutMs | Timeout in milliseconds |
|
inline |
Transfer data until a specific character is found (deprecated)
to | Destination stream |
readUntilChar | Character to stop at |
timeoutMs | Timeout in milliseconds |
|
inline |
Transfer data until a specific character is found.
to | Destination stream |
readUntilChar | Character to stop at (the character is read but not transferred) |
timeoutMs | Timeout in milliseconds |
|
inline |
Transfer data until a specific character is found.
to | Destination stream |
readUntilChar | Character to stop at (the character is read but not transferred) |
timeoutMs | Timeout in milliseconds |
|
inline |
Transfer data until a specific character is found.
to | Destination stream |
readUntilChar | Character to stop at (the character is read but not transferred) |
timeoutMs | Timeout in milliseconds |
|
inlineprotected |
Set the result of a send operation.
report | Status code to set |
void Stream::setTimeout | ( | unsigned long | timeout | ) |
Set the timeout for stream operations.
timeout | Maximum milliseconds to wait for stream data |
|
inlineprotectedinherited |
Set the write error flag.
err | Error code to set (default: 1) |
|
inlinevirtual |
Get the number of bytes remaining in the stream.
|
protected |
Peek at the next character with timeout.
|
protected |
Read a character with timeout.
|
inlineinherited |
Write a char value as a byte.
c | Character to write |
|
inlineinherited |
Write a buffer of characters to the output.
buffer | Pointer to the character buffer |
size | Number of characters to write |
|
inlineinherited |
Write a null-terminated string to the output.
str | Pointer to the string to write |
|
virtualinherited |
Write a buffer of bytes to the output.
buffer | Pointer to the data to write |
size | Number of bytes to write |
Reimplemented in esp32_psram::RingBufferStream< VectorType >, and esp32_psram::InMemoryFile< VectorType >.
|
inlineinherited |
Write an int value as a byte.
t | Value to write |
|
inlineinherited |
Write a signed byte as an unsigned byte.
c | Byte to write |
|
inlineinherited |
Write a long long value as a byte.
t | Value to write |
|
inlineinherited |
Write a long value as a byte.
t | Value to write |
|
inlineinherited |
Write a short value as a byte.
t | Value to write |
|
pure virtualinherited |
Write a single byte to the output.
b | The byte to write |
Implemented in esp32_psram::RingBufferStream< VectorType >, and esp32_psram::InMemoryFile< VectorType >.
|
inlineinherited |
Write an unsigned int value as a byte.
t | Value to write |
|
inlineinherited |
Write an unsigned long long value as a byte.
t | Value to write |
|
inlineinherited |
Write an unsigned long value as a byte.
t | Value to write |
|
inlineinherited |
Write an unsigned short value as a byte.
t | Value to write |