Documentation
¶
Overview ¶
package base64translator translates base64.StdEncoded data to base64.RawStdEncoded to allow both to be read by base64.RawStdEncoding decoding.
For example:
b64 := NewBase64ToRaw(bytes.NewReader(encodedBytes)) b, err := io.ReadAll(base64.NewDecoder(base64.RawStdEncoding, b64))
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Base64ToRaw ¶
type Base64ToRaw struct {
// contains filtered or unexported fields
}
Base64ToRaw translates base64.StdEncoded into base64.RawStdDecoded data.
func NewBase64ToRaw ¶
func NewBase64ToRaw(r io.Reader) *Base64ToRaw
Click to show internal directories.
Click to hide internal directories.