Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AsterDY committed Feb 1, 2024
1 parent 3b0f5a3 commit 282c7f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/thirdparty/b64_amd64.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func DecodeBase64(src string) ([]byte, error) {
return base64x.StdEncoding.DecodeString(src)
}

func EncodeBase64(buf []byte, src []byte) string {
func EncodeBase64(buf []byte, src []byte) []byte {
if len(src) == 0 {
return append(buf, '"', '"')
}
Expand Down

0 comments on commit 282c7f5

Please sign in to comment.