* Decode a UTF8 array to string.
(input: Uint8Array)
| 82 | * Decode a UTF8 array to string. |
| 83 | */ |
| 84 | function decodeUTF8(input: Uint8Array): string { |
| 85 | const carrier = getSentryCarrier(GLOBAL_OBJ); |
| 86 | return carrier.decodePolyfill ? carrier.decodePolyfill(input) : new TextDecoder().decode(input); |
| 87 | } |
| 88 | |
| 89 | /** |
| 90 | * Serializes an envelope. |
no test coverage detected