UNPKG

@pgxsinkit/pgwasm

Version:
6 lines • 215 B
/** * The byte length of a string once UTF-8 encoded. * Adapted from https://stackoverflow.com/a/23329386 */ export declare function byteLengthUtf8(str: string): number; //# sourceMappingURL=string-utils.d.ts.map