UNPKG

gnablib

Version:

A lean, zero dependency library to provide a useful base for your project.

8 lines (7 loc) 291 B
/*! Copyright 2023-2024 the gnablib contributors MPL-1.1 */ export declare const utf8: { bytesFromCodePoint: (codePoint: number) => number[]; codePointFromBytes: (bytes: number[]) => number; toBytes: (ucs2: string) => Uint8Array; fromBytes: (bytes: Uint8Array) => string; };