(bytes: Uint8Array, encoding = 'utf-8')
| 129 | * @doc {heading: 'Util'} |
| 130 | */ |
| 131 | export function decodeString(bytes: Uint8Array, encoding = 'utf-8'): string { |
| 132 | encoding = encoding || 'utf-8'; |
| 133 | return env().platform.decode(bytes, encoding); |
| 134 | } |
| 135 | |
| 136 | export function isTypedArray(a: {}): a is Float32Array|Int32Array|Uint8Array| |
| 137 | Uint8ClampedArray { |
no test coverage detected
searching dependent graphs…