[ forky ]
[ sid ]
[ 原始碼: golang-github-dop251-base64dec ]
套件:golang-github-dop251-base64dec-dev(0.0~git20231022.c6c9f9a-2)
golang-github-dop251-base64dec-dev 的相關連結
Debian 的資源:
下載原始碼套件 golang-github-dop251-base64dec:
- [golang-github-dop251-base64dec_0.0~git20231022.c6c9f9a-2.dsc]
- [golang-github-dop251-base64dec_0.0~git20231022.c6c9f9a.orig.tar.xz]
- [golang-github-dop251-base64dec_0.0~git20231022.c6c9f9a-2.debian.tar.xz]
維護者:
外部的資源:
- 主頁 [github.com]
相似套件:
Universal Lenient Base64 Decoder (Go library)
base64dec is a Universal Lenient Base64 Decoder. It's a modified version of the standard base64 decoder from encoding/base64. The key differences are:
* Accepts both Standard and URL-safe encoding, no need to specify it explicitly. * Works for both padded and raw inputs. * The input can be a string or a []byte, no allocation or copy is performed for either.
The goal was to create a decoder compatible with the one used in nodejs (and possibly elsewhere too). Unfortunately the standard package does not expose enough API to do this efficiently, and trying all 4 possible variants (standard/url, padded/raw) seemed wasteful.