(arr)
| 955 | return new Uint8Array(fromA) |
| 956 | }, |
| 957 | encode(arr) { |
| 958 | return arr.byteLength === arr.buffer.byteLength ? |
| 959 | arr.buffer : |
| 960 | arr.buffer.slice(arr.byteOffset, arr.byteOffset + arr.byteLength) |
| 961 | } |
| 962 | }) |
| 963 | ) |
| 964 | ) |
no test coverage detected