Input/Output context for ujson.
More...
#include <sw/device/lib/ujson/ujson.h>
|
void * | io_context |
| A generic pointer holding context for the IO routines.
|
|
status_t(* | putbuf )(void *, const char *, size_t) |
| A pointer to an IO function for writing data to the output.
|
|
status_t(* | getc )(void *) |
| A pointer to an IO function for reading data from the input.
|
|
int16_t | buffer |
| An internal single character buffer for ungetting a character.
|
|
uint32_t | crc32 |
| Holds the rolling CRC32 of characters that are sent and received.
|
|
Input/Output context for ujson.
Definition at line 17 of file ujson.h.
◆ buffer
An internal single character buffer for ungetting a character.
Definition at line 25 of file ujson.h.
◆ crc32
Holds the rolling CRC32 of characters that are sent and received.
Definition at line 27 of file ujson.h.
◆ getc
A pointer to an IO function for reading data from the input.
Definition at line 23 of file ujson.h.
◆ io_context
A generic pointer holding context for the IO routines.
Definition at line 19 of file ujson.h.
◆ putbuf
status_t(* ujson::putbuf) (void *, const char *, size_t) |
A pointer to an IO function for writing data to the output.
Definition at line 21 of file ujson.h.