Imports #
"encoding/base64"
"io"
"os"
"encoding/base64"
"io"
"os"
DecodeToTempFile decodes the named file to a temporary location. If successful, it returns the path of the decoded file. The caller is responsible for ensuring that the temporary file is removed.
func DecodeToTempFile(name string) (path string, err error)
ReadFile reads the named file and returns its decoded contents.
func ReadFile(name string) ([]byte, error)
Rot13 returns the rot13 encoding or decoding of its input.
func Rot13(data []byte) []byte
Generated with Arrow