(index)
| 1 | (packet) => { |
| 2 | function int2str(index) { |
| 3 | var str = ""; |
| 4 | while (index >= 0) { |
| 5 | str = String.fromCharCode(65 + index % 26) + str; |
| 6 | index = Math.floor(index / 26) - 1; |
| 7 | } |
| 8 | return str; |
| 9 | }; |
| 10 | |
| 11 | selector = packet.selector |
| 12 | index = packet.startIndex |