def reserve

gralha-byte-words@0.1.0.0 · words.bend:317

import gralha-byte-words@0.1.0.0/words.bend as Words
import Base

317def reserve(st: Sink, +n: U32) -> Sink:
318  match st:
319    case Sink{a, cap, pos}:
320      +p = pos
321      ob_room(a, cap, p, (p + n : U32))

Uses (4)

Used by (0)

No other definition uses this definition.