(chunk)
| 110 | } |
| 111 | |
| 112 | function arrayBufferViewToUint8Array(chunk) { |
| 113 | if (isTypedArray(chunk)) { |
| 114 | return new Uint8Array( |
| 115 | TypedArrayPrototypeGetBuffer(chunk), |
| 116 | TypedArrayPrototypeGetByteOffset(chunk), |
| 117 | TypedArrayPrototypeGetByteLength(chunk), |
| 118 | ); |
| 119 | } |
| 120 | return new Uint8Array( |
| 121 | DataViewPrototypeGetBuffer(chunk), |
| 122 | DataViewPrototypeGetByteOffset(chunk), |
| 123 | DataViewPrototypeGetByteLength(chunk), |
| 124 | ); |
| 125 | } |
| 126 | |
| 127 | // ============================================================================= |
| 128 | // Sync Normalization (for fromSync and sync contexts) |
no test coverage detected
searching dependent graphs…