Base36
Base36 implementation in golang
Install / Use
/learn @martinlindhe/Base36README
About
Implements Base36 encoding and decoding, which is useful to represent large integers in a case-insensitive alphanumeric way.
Examples
import "github.com/martinlindhe/base36"
fmt.Println(base36.Encode(5481594952936519619))
// Output: 15N9Z8L3AU4EB
fmt.Println(base36.Decode("15N9Z8L3AU4EB"))
// Output: 5481594952936519619
fmt.Println(base36.EncodeBytes([]byte{1, 2, 3, 4}))
// Output: A2F44
fmt.Println(base36.DecodeToBytes("A2F44"))
// Output: [1 2 3 4]
Notice
For basic base 36 conversion, you can use strconv.FormatUint() from the stdlib.
License
Under MIT
Related Skills
node-connect
345.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
106.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
345.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
345.9kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
