UNPKG

@foxglove/rosmsg-serialization

Version:

ROS 1 message serialization, for reading and writing bags and network messages

7 lines 315 B
/** * Returns the number of bytes that would be used when encoding the string as UTF-8, effectively the * same as `new TextEncoder().encode(str).length` but faster. * https://jsbench.me/nzlrkwmeiq/1 */ export declare function stringLengthUtf8(str: string): number; //# sourceMappingURL=stringLengthUtf8.d.ts.map