Decodes the given Base64-encoded string s and returns the corresponding byte array. If decoding fails, an error is returned.
func (enc *Encoding) DecodeString(str string) ([]byte, error)
string - The Base64-encoded data.
`DecodeString` returns the byte array represented by the Base64-encoded string `string`.
package main
import (
"encoding/base64"
"fmt"
)
func main() {
data := "SSB3aWxsIGNvbWUgYmFjayBzb29u"
decoded, _ := base64.StdEncoding.DecodeString(data)
fmt.Println(string(decoded))
}
Home Page Base64Decode List Privacy Policy About Us Contact
This website uses cookies to enhance your experience, personalize content and ads, and analyze our traffic.
©2025 Design by base64decodeonl.com