def ttf.ends

gralha-truetype@0.1.0.1 · font.bend:168

import gralha-truetype@0.1.0.1/font.bend as Font
import Base
import gralha-bytes@0.1.0.1/bytes.bend as Bin

168def ttf.ends(+b: Bin.Bytes, n: Nat, +at: U32) -> List<&2, U32>:
169  match n:
170    case 0n: Nil{}
171    case 1n+d: Con{ttf.u16(b, at), ttf.ends(b, d, (at + 2 : U32))}

Uses (6)

Used by (1)