code wiki / _hdl_build / test_b64enc.nx

test_b64enc.nx

buildroot/runtime/_hdl_build/test_b64enc.nx

2133 B56 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind orphan librarytopic test
docsdependenciesstructsconstsfunctions

about

standalone unit test for the base64 encoder (verbatim copy of gp_b64_encode) against RFC 4648 vectors.

dependencies 1 imports · 0 importers

nx_syscalls.nx test_b64enc.nx

imports: nx_syscalls.nx

imported by: nobody (leaf or entry point)

structs

none

consts

none

functions

4func gp_b64_encode(inp: *u8, n: i64, out: *u8) -> i64
34func check(inp: *u8, n: i64, want: *u8) -> i64
47func main() -> i64