Documentation
¶
Index ¶
- func Atoi(b []byte) (int, error)
- func BytesToString(b []byte) string
- func MustParseFloat(s string) float64
- func ParseFloat(b []byte, bitSize int) (float64, error)
- func ParseInt(b []byte, base int, bitSize int) (int64, error)
- func ParseStringToFloat(s string) (float64, error)
- func ParseUint(b []byte, base int, bitSize int) (uint64, error)
- func StringToBytes(s string) []byte
- func ToPtr[T any](v T) *T
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BytesToString ¶
BytesToString converts byte slice to string.
func MustParseFloat ¶ added in v9.9.0
MustParseFloat is like ParseFloat but panics on parse errors.
func ParseStringToFloat ¶ added in v9.9.0
ParseFloat parses a Redis RESP3 float reply into a Go float64, handling "inf", "-inf", "nan" per Redis conventions.
func StringToBytes ¶
StringToBytes converts string to byte slice.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.