Golang encoding/base64.NewDecoder function example

package encoding/base64

NewDecoder constructs a new base64 stream decoder.

Golang encoding/base64.NewDecoder function usage example

 var text []byte
 decoder := base32.NewDecoder(base32.HexEncoding, bytes.NewBuffer(text))

References :

http://golang.org/pkg/encoding/base64/#NewDecoder

https://www.socketloop.com/references/golang-encoding-base32-newdecoder-function-examples

  See also : Golang encoding/base32.NewDecoder function examples

Advertisement