MCPcopy Create free account
hub / github.com/segmentio/encoding / appendRune

Function appendRune

json/parse.go:560–564  ·  view source on GitHub ↗
(b []byte, r rune)

Source from the content-addressed store, hash-verified

558}
559
560func appendRune(b []byte, r rune) []byte {
561 n := len(b)
562 b = append(b, 0, 0, 0, 0)
563 return b[:n+utf8.EncodeRune(b[n:], r)]
564}
565
566func appendCoerceInvalidUTF8(b []byte, s []byte) []byte {
567 c := [4]byte{}

Callers 2

parseStringUnquoteMethod · 0.85
appendToLowerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…