| Lang | encode | byte of char | getbyte at index | get codepoint at pos | iter |
|---|---|---|---|---|---|
| Java | utf16 | 2 | ? | ? | ? |
| JavaScript | utf16 | 2 | ? | codePointAt(pos) → int | codepoint(Symbol.iterator) |
| Rust | utf8 | 4 | bytes().nth | .chars().nth | ? |
| Nim | utf8 | 1 | [] |
unicode.runeAt | byte(iterator items) |
| Go | utf8 | 1 | [] |
rune[pos] | ? |