Files
Exercito/Frontend/angular-internal-chat/node_modules/@jsonjoy.com/buffers/lib/utf8/isUtf8.d.ts
T
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;