Module memory
Expand description
Memory management and alignment utilities for the runtime. Computes byte offsets for aligned storage.
Use align_index with a power-of-two alignment and a representable
padded index before addressing an aligned buffer.
Functionsยง
- align_
index - Returns the least aligned index not smaller than
index.