UNPKG

@technobuddha/library

Version:
8 lines (7 loc) 215 B
/** * Encode a unicode (UTF-16 encoded javascript) string into UTF8 * * @param input - The string to encode * @returns The UTF-8 encoded string */ export declare function encodeUTF8(input: string): Uint8Array;