Skip to content

Commit a968388

Browse files
committed
lint
1 parent 8843969 commit a968388

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/utils/src/envelope.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ export function forEachEnvelopeItem<E extends Envelope>(
5353
});
5454
}
5555

56+
/**
57+
* Encode a string to UTF8.
58+
*/
5659
export function encodeUTF8(input: string, textEncoder?: TextEncoderInternal): Uint8Array {
5760
const utf8 = textEncoder || new TextEncoder();
5861
return utf8.encode(input);

0 commit comments

Comments
 (0)