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' |
10 |
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' |
10 |