Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NextDotID/proof_server
/ DecodeString
Function
DecodeString
util/util.go:26–32 ·
view source on GitHub ↗
(s string)
Source
from the content-addressed store, hash-verified
24
}
25
26
func
DecodeString(s string) ([]byte, error) {
27
sigBytes, err := base64.StdEncoding.DecodeString(s)
28
if
err == nil {
29
return
sigBytes, nil
30
}
31
return
base1024.DecodeString(s)
32
}
Callers
8
validateText
Method · 0.92
validatePayload
Method · 0.92
validateText
Method · 0.92
validateText
Method · 0.92
validateBody
Method · 0.92
Validate
Method · 0.92
validateRecord
Method · 0.92
Validate
Method · 0.92
Calls
1
DecodeString
Function · 0.92
Tested by
no test coverage detected