package util
import "github.com/go-redis/redis/internal/util"
Index ¶
- func Atoi(b []byte) (int, error)
- func BytesToString(b []byte) string
- func ParseFloat(b []byte, bitSize int) (float64, error)
- func ParseInt(b []byte, base int, bitSize int) (int64, error)
- func ParseUint(b []byte, base int, bitSize int) (uint64, error)
- func StringToBytes(s string) []byte
Functions ¶
func Atoi ¶
func BytesToString ¶
BytesToString converts byte slice to string.
func ParseFloat ¶
func ParseInt ¶
func ParseUint ¶
func StringToBytes ¶
StringToBytes converts string to byte slice.
Source Files ¶
- Version
- v6.15.9+incompatible (latest)
- Published
- Aug 7, 2020
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 5 days ago –
Tools for package owners.