shithub: riscv

Download patch

ref: e934530ee4512f033952e4efa80a80058607b741
parent: c848ca62673689df20e7fef74d1d5180f37fcea6
author: Ori Bernstein <ori@eigenstate.org>
date: Sat Jul 3 16:03:17 EDT 2021

libc: add encode(2) variants for custom alphabets

There are a number of alphabets in common use for base32
and base64 encoding, such as url-safe encodings.

This adds support for passing a function to encode into
arbitary alphabets.