redis: Index | Files

package util

import ""


Package Files

strconv.go unsafe.go

func Atoi Uses

func Atoi(b []byte) (int, error)

func BytesToString Uses

func BytesToString(b []byte) string

BytesToString converts byte slice to string.

func ParseFloat Uses

func ParseFloat(b []byte, bitSize int) (float64, error)

func ParseInt Uses

func ParseInt(b []byte, base int, bitSize int) (int64, error)

func ParseUint Uses

func ParseUint(b []byte, base int, bitSize int) (uint64, error)

func StringToBytes Uses

func StringToBytes(s string) []byte

StringToBytes converts string to byte slice.

Package util imports 2 packages (graph) and is imported by 15 packages. Updated 2019-04-26. Refresh now. Tools for package owners.