You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
305 B
15 lines
305 B
3 years ago
|
//go:build purego || !amd64
|
||
|
// +build purego !amd64
|
||
|
|
||
|
package base64
|
||
|
|
||
|
import "encoding/base64"
|
||
|
|
||
|
// An Encoding is a radix 64 encoding/decoding scheme, defined by a
|
||
|
// 64-character alphabet.
|
||
|
type Encoding = base64.Encoding
|
||
|
|
||
|
func newEncoding(encoder string) *Encoding {
|
||
|
return base64.NewEncoding(encoder)
|
||
|
}
|