func unicode/utf8.EncodeRune
26 uses
unicode/utf8 (current package)
utf8.go#L348: func EncodeRune(p []byte, r rune) int {
bufio
bufio.go#L739: size = utf8.EncodeRune(b.buf[b.n:], r)
bytes
bytes.go#L160: n := utf8.EncodeRune(b[:], r)
encoding/json
decode.go#L1282: w += utf8.EncodeRune(b[w:], dec)
decode.go#L1288: w += utf8.EncodeRune(b[w:], rr)
decode.go#L1305: w += utf8.EncodeRune(b[w:], rr)
fmt
format.go#L162: utf8.EncodeRune(buf[i:], rune(u))
go/types
typestring.go#L514: utf8.EncodeRune(buf[i:], '₀'+rune(x%10)) // '₀' == U+2080
golang.org/x/text/unicode/bidi
prop.go#L63: n := utf8.EncodeRune(buf[:], r)
golang.org/x/text/unicode/norm
composition.go#L280: sz := utf8.EncodeRune(rb.byte[bn:], rune(r))
composition.go#L289: sz := utf8.EncodeRune(rb.byte[bn:], rune(r))
composition.go#L399: utf8.EncodeRune(buf, jamoLBase+r/jamoVCount)
composition.go#L400: utf8.EncodeRune(buf[JamoUTF8Len:], jamoVBase+r%jamoVCount)
composition.go#L402: utf8.EncodeRune(buf[2*JamoUTF8Len:], jamoTBase+x)
html
escape.go#L120: return dst + utf8.EncodeRune(b[dst:], x), src + i
escape.go#L145: return dst + utf8.EncodeRune(b[dst:], x), src + i
escape.go#L147: dst1 := dst + utf8.EncodeRune(b[dst:], x[0])
escape.go#L148: return dst1 + utf8.EncodeRune(b[dst1:], x[1]), src + i
escape.go#L156: return dst + utf8.EncodeRune(b[dst:], x), src + j + 1
html/template
css.go#L89: n := utf8.EncodeRune(b[len(b):cap(b)], r)
vendor/golang.org/x/text/unicode/bidi
prop.go#L63: n := utf8.EncodeRune(buf[:], r)
vendor/golang.org/x/text/unicode/norm
composition.go#L280: sz := utf8.EncodeRune(rb.byte[bn:], rune(r))
composition.go#L289: sz := utf8.EncodeRune(rb.byte[bn:], rune(r))
composition.go#L399: utf8.EncodeRune(buf, jamoLBase+r/jamoVCount)
composition.go#L400: utf8.EncodeRune(buf[JamoUTF8Len:], jamoVBase+r%jamoVCount)
composition.go#L402: utf8.EncodeRune(buf[2*JamoUTF8Len:], jamoTBase+x)