(ns []index)
| 94 | } |
| 95 | |
| 96 | func intArrayToString(ns []index) string { |
| 97 | if len(ns) == 0 { |
| 98 | return "" |
| 99 | } |
| 100 | |
| 101 | b := make([]rune, len(ns)) |
| 102 | for i, n := range ns { |
| 103 | b[i] = intToRune(uint32(n)) |
| 104 | } |
| 105 | return string(b) |
| 106 | } |
| 107 | |
| 108 | // These constants define the number of bits representable |
| 109 | // in 1,2,3,4 byte utf8 sequences, respectively. |
no test coverage detected