]> git.kaiwu.me - njs.git/commit
Added btoa() and atob() from WHATWG spec.
authorDmitry Volyntsev <xeioex@nginx.com>
Tue, 12 Jul 2022 15:56:35 +0000 (08:56 -0700)
committerDmitry Volyntsev <xeioex@nginx.com>
Tue, 12 Jul 2022 15:56:35 +0000 (08:56 -0700)
commit3a14c2f63adc1792ca59b4c86822819558aea69d
treed806bf6f4369734a0b76f60085aa84f7646e5ff2
parent7f633259fc546c5c97621030f1cfc6a7bb54eb7e
Added btoa() and atob() from WHATWG spec.

The functions encode and decode to Base64 and from Base64.
src/njs_builtin.c
src/njs_string.c
src/njs_string.h
src/test/njs_unit_test.c