UNPKG

@chickenjdk/byteutils

Version:

Advanced tools for manipulating binary data in JavaScript

5 lines (4 loc) 392 B
export declare const encodeMutf8: (input?: string) => Uint8Array; export declare const decodeMutf8: (input: import("mutf-8").AllowSharedBufferSource, options?: import("mutf-8").TextDecodeOptions) => string; export declare const encodeUtf8: (input?: string) => Uint8Array<ArrayBuffer>; export declare const decodeUtf8: (input?: AllowSharedBufferSource, options?: TextDecodeOptions) => string;