Files
glink-website/node_modules/bson/lib/validate_utf8.d.ts
Aravind142857 4e3c08d1c4 First commit
2023-06-05 20:06:13 -05:00

10 lines
397 B
TypeScript

/**
* Determines if the passed in bytes are valid utf8
* @param bytes - An array of 8-bit bytes. Must be indexable and have length property
* @param start - The index to start validating
* @param end - The index to end validating
*/
export declare function validateUtf8(bytes: {
[index: number]: number;
}, start: number, end: number): boolean;
//# sourceMappingURL=validate_utf8.d.ts.map