code: func (enc *Encoding) EncodeToString(src []byte) string {
  	buf := make([]byte, enc.EncodedLen(len(src)))
  	enc.Encode(buf, src)
  	return string(buf)
  }
docs: // Much of this code is adopted from Go's encoding/base64
  // EncodeToString returns the baseX encoding of src.