(input)
| 392 | }); |
| 393 | |
| 394 | function parseInput(input) { |
| 395 | if (isAnyArrayBuffer(input)) { |
| 396 | try { |
| 397 | return new FastBuffer(input); |
| 398 | } catch { |
| 399 | return empty; |
| 400 | } |
| 401 | } else if (isArrayBufferView(input)) { |
| 402 | try { |
| 403 | return new FastBuffer(input.buffer, input.byteOffset, input.byteLength); |
| 404 | } catch { |
| 405 | return empty; |
| 406 | } |
| 407 | } else { |
| 408 | throw new ERR_INVALID_ARG_TYPE('input', ['ArrayBuffer', 'ArrayBufferView'], input); |
| 409 | } |
| 410 | } |
| 411 | |
| 412 | let icuDecode, icuGetConverter; |
| 413 | if (hasIntl) { |
no outgoing calls
no test coverage detected
searching dependent graphs…