code wiki / _hdl_build / test_b64enc.nx
test_b64enc.nx
buildroot/runtime/_hdl_build/test_b64enc.nx
about
standalone unit test for the base64 encoder (verbatim copy of gp_b64_encode) against RFC 4648 vectors.
dependencies 1 imports · 0 importers
imports: nx_syscalls.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 4 | func gp_b64_encode(inp: *u8, n: i64, out: *u8) -> i64 called by 1: check |
| 34 | func check(inp: *u8, n: i64, want: *u8) -> i64 |
| 47 | func main() -> i64 |