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.7+incompatible
Published
Feb 2, 2020
Platform
windows/amd64
Imports
2 packages
Last checked
6 minutes ago

Tools for package owners.