package
module
Version:
v1.0.4
Opens a new window with list of versions in this module.
Published: Jan 13, 2020
License: BSD-3-Clause
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 37
Opens a new window with list of known importers.
README
¶
go-base32
base32 encoding using Manifold's chosen alphabet, with no padding.
Code of Conduct |
Contribution Guidelines
Usage
package main
import (
"fmt"
"github.com/manifoldco/go-base32"
)
func main() {
sample := []byte{0xF, 0xEE, 0xD, 0xC, 0x0D}
fmt.Println(base32.EncodeToString(sample))
}
Outputs:
1zq0u30d
Documentation
¶
Package base32 implements unpadded base32 encoding, using our chosen
alphabet.
DecodeString decodes the given base32 encodeed bytes
EncodeToString encodes the given byte slice in base32
Source Files
¶
Click to show internal directories.
Click to hide internal directories.