OXIESEC PANEL
- Current Dir:
/
/
opt
/
golang
/
1.22.0
/
src
/
strconv
Server IP: 2a02:4780:11:1084:0:327f:3464:10
Upload:
Create Dir:
Name
Size
Modified
Perms
π
..
-
02/02/2024 06:09:55 PM
rwxr-xr-x
π
atob.go
974 bytes
02/02/2024 06:09:55 PM
rw-r--r--
π
atob_test.go
1.87 KB
02/02/2024 06:09:55 PM
rw-r--r--
π
atoc.go
3.04 KB
02/02/2024 06:09:55 PM
rw-r--r--
π
atoc_test.go
6.83 KB
02/02/2024 06:09:55 PM
rw-r--r--
π
atof.go
15.9 KB
02/02/2024 06:09:55 PM
rw-r--r--
π
atof_test.go
23.56 KB
02/02/2024 06:09:55 PM
rw-r--r--
π
atoi.go
8.61 KB
02/02/2024 06:09:55 PM
rw-r--r--
π
atoi_test.go
17.09 KB
02/02/2024 06:09:55 PM
rw-r--r--
π
bytealg.go
389 bytes
02/02/2024 06:09:55 PM
rw-r--r--
π
bytealg_bootstrap.go
401 bytes
02/02/2024 06:09:55 PM
rw-r--r--
π
ctoa.go
1 KB
02/02/2024 06:09:55 PM
rw-r--r--
π
ctoa_test.go
1.45 KB
02/02/2024 06:09:55 PM
rw-r--r--
π
decimal.go
11.03 KB
02/02/2024 06:09:55 PM
rw-r--r--
π
decimal_test.go
3.01 KB
02/02/2024 06:09:55 PM
rw-r--r--
π
doc.go
1.91 KB
02/02/2024 06:09:55 PM
rw-r--r--
π
eisel_lemire.go
41.39 KB
02/02/2024 06:09:55 PM
rw-r--r--
π
example_test.go
8.87 KB
02/02/2024 06:09:55 PM
rw-r--r--
π
export_test.go
240 bytes
02/02/2024 06:09:55 PM
rw-r--r--
π
fp_test.go
2.9 KB
02/02/2024 06:09:55 PM
rw-r--r--
π
ftoa.go
13.88 KB
02/02/2024 06:09:55 PM
rw-r--r--
π
ftoa_test.go
9.33 KB
02/02/2024 06:09:55 PM
rw-r--r--
π
ftoaryu.go
15.66 KB
02/02/2024 06:09:55 PM
rw-r--r--
π
ftoaryu_test.go
759 bytes
02/02/2024 06:09:55 PM
rw-r--r--
π
internal_test.go
618 bytes
02/02/2024 06:09:55 PM
rw-r--r--
π
isprint.go
11.55 KB
02/02/2024 06:09:55 PM
rw-r--r--
π
itoa.go
5.3 KB
02/02/2024 06:09:55 PM
rw-r--r--
π
itoa_test.go
5.83 KB
02/02/2024 06:09:55 PM
rw-r--r--
π
makeisprint.go
4.81 KB
02/02/2024 06:09:55 PM
rw-r--r--
π
quote.go
16.79 KB
02/02/2024 06:09:55 PM
rw-r--r--
π
quote_test.go
9.57 KB
02/02/2024 06:09:55 PM
rw-r--r--
π
strconv_test.go
4.69 KB
02/02/2024 06:09:55 PM
rw-r--r--
π
testdata
-
02/02/2024 06:09:55 PM
rwxr-xr-x
Editing: doc.go
Close
// Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package strconv implements conversions to and from string representations // of basic data types. // // # Numeric Conversions // // The most common numeric conversions are Atoi (string to int) and Itoa (int to string). // // i, err := strconv.Atoi("-42") // s := strconv.Itoa(-42) // // These assume decimal and the Go int type. // // [ParseBool], [ParseFloat], [ParseInt], and [ParseUint] convert strings to values: // // b, err := strconv.ParseBool("true") // f, err := strconv.ParseFloat("3.1415", 64) // i, err := strconv.ParseInt("-42", 10, 64) // u, err := strconv.ParseUint("42", 10, 64) // // The parse functions return the widest type (float64, int64, and uint64), // but if the size argument specifies a narrower width the result can be // converted to that narrower type without data loss: // // s := "2147483647" // biggest int32 // i64, err := strconv.ParseInt(s, 10, 32) // ... // i := int32(i64) // // [FormatBool], [FormatFloat], [FormatInt], and [FormatUint] convert values to strings: // // s := strconv.FormatBool(true) // s := strconv.FormatFloat(3.1415, 'E', -1, 64) // s := strconv.FormatInt(-42, 16) // s := strconv.FormatUint(42, 16) // // [AppendBool], [AppendFloat], [AppendInt], and [AppendUint] are similar but // append the formatted value to a destination slice. // // # String Conversions // // [Quote] and [QuoteToASCII] convert strings to quoted Go string literals. // The latter guarantees that the result is an ASCII string, by escaping // any non-ASCII Unicode with \u: // // q := strconv.Quote("Hello, δΈη") // q := strconv.QuoteToASCII("Hello, δΈη") // // [QuoteRune] and [QuoteRuneToASCII] are similar but accept runes and // return quoted Go rune literals. // // [Unquote] and [UnquoteChar] unquote Go string and rune literals. package strconv