Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for AppendQuoteRuneToASCII (0.21 sec)

  1. 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)
Back to top