@chickenjdk/byteutils
Version:
Some utilitys for working with binary data
5 lines (4 loc) • 379 B
TypeScript
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;
export declare const decodeUtf8: (input?: AllowSharedBufferSource, options?: TextDecodeOptions) => string;