MCPcopy Create free account
hub / github.com/buger/jsonparser / parseFloat

Function parseFloat

bytes_unsafe.go:26–28  ·  view source on GitHub ↗
(b *[]byte)

Source from the content-addressed store, hash-verified

24}
25
26func parseFloat(b *[]byte) (float64, error) {
27 return strconv.ParseFloat(*(*string)(unsafe.Pointer(b)), 64)
28}
29
30// A hack until issue golang/go#2632 is fixed.
31// See: https://github.com/golang/go/issues/2632

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected