Import with #import "std/format".

Append :: (builder: *Vec(u8), text: string)
Append :: (builder: *Vec(u8), value: s64)
Append :: (builder: *Vec(u8), value: u32)

Unsigned values up to 32 bits; also the closest match for u8 and u16.

Append :: (builder: *Vec(u8), value: u64)
Append :: (builder: *Vec(u8), value: bool)
Append :: (builder: *Vec(u8), value: float64)

Source ↗ · All modules