package util

import "github.com/go-redis/redis/internal/util"

Index

Functions

func Atoi

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

func BytesToString

func BytesToString(b []byte) string

BytesToString converts byte slice to string.

func ParseFloat

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

func ParseInt

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

func ParseUint

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

func StringToBytes

func StringToBytes(s string) []byte

StringToBytes converts string to byte slice.

Source Files

strconv.go unsafe.go

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.