23#ifndef MMGR_BITORUM_INTROITUS_EXITUS_H
24#define MMGR_BITORUM_INTROITUS_EXITUS_H
static const BitorumIntroitusExitusNs bitio
Dispatch table instance named bitio, with each member set to its mmgr_bitor_ function.
void mmgr_bitor_align(const BitorumCfg *args)
Writes the partial byte the writer still holds, padded with zeros above its bits.
mmgr_bitor mmgr_bitor_init(const BitorumCfg *args)
Builds a bit writer over args->out with capacity args->cap.
void mmgr_bitor_put(const BitorumCfg *args)
Appends the low args->bit_count bits of args->val to args->writer.
The embedded_types headers every module builds on.
Arguments for the bitor calls, where each call reads only the members it needs.
const embed_word bit_count
Type of the bitio dispatch table.
void(*) put(const BitorumCfg *args)
void(*) align(const BitorumCfg *args)
mmgr_bitor(*) init(const BitorumCfg *args)
Bit writer state: the buffer, how much is written, and the partial byte.