See fastbytes_unsafe.go for explanation on why *[]byte is used (signatures must be consistent with those in that file)
(b *[]byte, s string)
| 10 | // See fastbytes_unsafe.go for explanation on why *[]byte is used (signatures must be consistent with those in that file) |
| 11 | |
| 12 | func equalStr(b *[]byte, s string) bool { |
| 13 | return string(*b) == s |
| 14 | } |
| 15 | |
| 16 | func parseFloat(b *[]byte) (float64, error) { |
| 17 | return strconv.ParseFloat(string(*b), 64) |
no outgoing calls
searching dependent graphs…