fastparse

package
v0.19.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 23, 2024 License: Apache-2.0 Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrOverflow = errors.New("overflow")

Functions

func ParseFloat64

func ParseFloat64(s string) (float64, error)

ParseFloat64 parses floating-point number s.

It is equivalent to strconv.ParseFloat(s, 64) in case it succeeds, but on error it will return the best effort value of what it has parsed so far.

func ParseInt64

func ParseInt64(s string, base int) (int64, error)

ParseInt64 parses int64 number s.

It is equivalent to strconv.ParseInt(s, base, 64) in case it succeeds, but on error it will return the best effort value of what it has parsed so far.

func ParseUint64

func ParseUint64(s string, base int) (uint64, error)

ParseUint64 parses uint64 from s.

It is equivalent to strconv.ParseUint(s, base, 64) in case it succeeds, but on error it will return the best effort value of what it has parsed so far.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL