(highSurrogate: number, lowSurrogate: number)
| 468 | * See http://en.wikipedia.org/wiki/Surrogate_pair |
| 469 | */ |
| 470 | export function computeCodePoint(highSurrogate: number, lowSurrogate: number): number { |
| 471 | return ((highSurrogate - 0xD800) << 10) + (lowSurrogate - 0xDC00) + 0x10000; |
| 472 | } |
| 473 | |
| 474 | /** |
| 475 | * get the code point that begins at offset `offset` |
no outgoing calls
no test coverage detected