Files
2026-03-22 18:07:19 +00:00

7 lines
225 B
TypeScript

/**
* Validates that the given data is valid UTF-8 text.
* @param buf Data to check.
* @returns True if the data is valid UTF-8.
*/
export declare const isUtf8: (buf: Uint8Array, from: number, length: number) => boolean;