Bit writer state, its arguments, and the bitio dispatch table. More...
#include "mmgr.h"Go to the source code of this file.
Data Structures | |
| struct | mmgr_bitor |
| Bit writer state: the buffer, how much went out, and the partial byte. More... | |
| struct | BitorumCfg |
| Arguments for the bitor calls, where each call reads only the members it needs. More... | |
| struct | BitorumIntroitusExitusNs |
| Type of the bitio dispatch table. More... | |
Functions | |
| EMBED_HOST_DEVICE mmgr_bitor | mmgr_bitor_init (const BitorumCfg *args) |
| Builds a bit writer over args->out with capacity args->cap. | |
| EMBED_HOST_DEVICE void | mmgr_bitor_put (const BitorumCfg *args) |
| Appends the low args->bit_count bits of args->val to args->writer. | |
| EMBED_HOST_DEVICE void | mmgr_bitor_align (const BitorumCfg *args) |
| Writes the partial byte the writer still holds, padded with zeros above its bits. | |
Variables | |
| static const BitorumIntroitusExitusNs | bitio |
| Dispatch table instance named bitio, with each member set to its mmgr_bitor_ function. | |
Bit writer state, its arguments, and the bitio dispatch table.
Definition in file bitorum_introitus_exitus.h.