Byte verbs that append into a caller's span or read out of it. More...
Go to the source code of this file.
Data Structures | |
| struct | OctetusCfg |
| Arguments for the byteio calls, where each call reads only the members it needs. More... | |
| struct | OctetusIntroitusExitusNs |
| Type of the byteio dispatch table. More... | |
Functions | |
| EMBED_HOST_DEVICE void | mmgr_byteio_put (const OctetusCfg *args) |
| Appends args->byte to args->write_span. | |
| EMBED_HOST_DEVICE void | mmgr_byteio_put_be (const OctetusCfg *args) |
| Appends the low args->bytes of args->value to args->write_span, most significant byte first. | |
| EMBED_HOST_DEVICE void | mmgr_byteio_raw (const OctetusCfg *args) |
| Appends args->bytes from args->src to args->write_span as they are. | |
| EMBED_HOST_DEVICE embed_bool | mmgr_byteio_take_be (const OctetusCfg *args) |
| Reads a big endian value of args->bytes at args->read_span's cursor and advances past it. | |
| EMBED_HOST_DEVICE embed_bool | mmgr_byteio_rd_str (const OctetusCfg *args) |
| Reads a big endian 32-bit length at args->read_span's cursor, then points args->blob at the run behind it. | |
| EMBED_HOST_DEVICE embed_bool | mmgr_byteio_mpint_fixed (const OctetusCfg *args) |
| Right-aligns the big endian integer at args->src into args->write_span's whole buffer, with a zero fill ahead of it. | |
Variables | |
| static const OctetusIntroitusExitusNs | byteio |
| Dispatch table instance named byteio, with each member set to its mmgr_byteio_ function. | |
Byte verbs that append into a caller's span or read out of it.
Definition in file octetus_introitus_exitus.h.