- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for AppendQuoteRuneToASCII (0.21 sec)
-
src/strconv/example_test.go
b := []byte("rune:") b = strconv.AppendQuoteRune(b, '☺') fmt.Println(string(b)) // Output: // rune:'☺' } func ExampleAppendQuoteRuneToASCII() { b := []byte("rune (ascii):") b = strconv.AppendQuoteRuneToASCII(b, '☺') fmt.Println(string(b)) // Output: // rune (ascii):'\u263a' } func ExampleAppendQuoteToASCII() { b := []byte("quote (ascii):")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 22:57:37 UTC 2023 - 8.9K bytes - Viewed (0) -
src/strconv/quote.go
// replacement character U+FFFD. func QuoteRuneToASCII(r rune) string { return quoteRuneWith(r, '\'', true, false) } // AppendQuoteRuneToASCII appends a single-quoted Go character literal representing the rune, // as generated by [QuoteRuneToASCII], to dst and returns the extended buffer. func AppendQuoteRuneToASCII(dst []byte, r rune) []byte { return appendQuotedRuneWith(dst, r, '\'', true, false) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:21:28 UTC 2024 - 16.5K bytes - Viewed (0) -
src/fmt/format.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:31:55 UTC 2024 - 13.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"(*NumError).Unwrap", Method, 14}, {"AppendBool", Func, 0}, {"AppendFloat", Func, 0}, {"AppendInt", Func, 0}, {"AppendQuote", Func, 0}, {"AppendQuoteRune", Func, 0}, {"AppendQuoteRuneToASCII", Func, 0}, {"AppendQuoteRuneToGraphic", Func, 6}, {"AppendQuoteToASCII", Func, 0}, {"AppendQuoteToGraphic", Func, 6}, {"AppendUint", Func, 0}, {"Atoi", Func, 0}, {"CanBackquote", Func, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)