Base64 in Zig with SIMD vector intriniscs on supported processors
Go to file
2024-06-05 15:08:09 -04:00
src Complete b64Encoder.encode() method (requires testing) 2024-06-05 15:08:09 -04:00
.gitignore Initial commit 2024-06-01 18:47:22 -04:00
build.zig Initial commit 2024-06-01 18:47:22 -04:00
build.zig.zon Initial commit 2024-06-01 18:47:22 -04:00
README.md Add README 2024-06-03 23:43:44 -04:00

Summary

This is a base64 encoder/decoder in zig. The default alphabet is the rfc4648 base64 specification, but custom alphabets may be used. The library is designed to highly efficient and very fast. Assumong a supported platform encoding and decoding operations will take advantage of SIMD (Single Instruction Multiple Data) processor intrinsics to work on multiple bytes of data in parallel, while only using a single processor.

Supported Zig version

Currently this library is designed and tested with Zig version 0.12.0.