UNPKG

@smithy/util-utf8

Version:
2 lines (1 loc) 68 B
export const fromUtf8 = (input) => new TextEncoder().encode(input);