github.com/jd-ly/tools@v0.5.7/go/ssa/interp/testdata/src/unicode/utf8/utf8.go (about)

     1  package utf8
     2  
     3  func DecodeRuneInString(string) (rune, int)
     4  
     5  func DecodeRune(b []byte) (rune, int) {
     6  	return DecodeRuneInString(string(b))
     7  }
     8  
     9  const RuneError = '\uFFFD'