Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for QuoteRuneToASCII (0.13 sec)

  1. src/strconv/doc.go

    // 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.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. src/strconv/quote.go

    // If r is not a valid Unicode code point, it is interpreted as the Unicode
    // 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 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"ParseBool", Func, 0},
    		{"ParseComplex", Func, 15},
    		{"ParseFloat", Func, 0},
    		{"ParseInt", Func, 0},
    		{"ParseUint", Func, 0},
    		{"Quote", Func, 0},
    		{"QuoteRune", Func, 0},
    		{"QuoteRuneToASCII", Func, 0},
    		{"QuoteRuneToGraphic", Func, 6},
    		{"QuoteToASCII", Func, 0},
    		{"QuoteToGraphic", Func, 6},
    		{"QuotedPrefix", Func, 17},
    		{"Unquote", Func, 0},
    		{"UnquoteChar", 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)
Back to top