MCPcopy Create free account
hub / github.com/corestoreio/pkg / ParseInt

Function ParseInt

util/byteconv/int.go:33–71  ·  view source on GitHub ↗

ParseInt parses a byte-slice and returns the integer it represents. If an invalid character is encountered, it returns a syntax error.

(b []byte)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

TestParseIntFunction · 0.85
ParseFloatFunction · 0.85

Calls 2

rangeErrorFunction · 0.85
syntaxErrorFunction · 0.85

Tested by 2

TestParseIntFunction · 0.68