Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/redis/go-redis
/ Atoi
Function
Atoi
internal/util/strconv.go:5–7 ·
view source on GitHub ↗
(b []byte)
Source
from the content-addressed store, hash-verified
3
import
"strconv"
4
5
func
Atoi(b []byte) (int, error) {
6
return
strconv.Atoi(BytesToString(b))
7
}
8
9
func
ParseInt(b []byte, base int, bitSize int) (int64, error) {
10
return
strconv.ParseInt(BytesToString(b), base, bitSize)
Callers
4
Scan
Function · 0.92
parsePushNotificationName
Function · 0.92
replyLen
Function · 0.92
TestAtoi
Function · 0.85
Calls
1
BytesToString
Function · 0.70
Tested by
1
TestAtoi
Function · 0.68