@foxglove/rosmsg-serialization
Version:
ROS 1 message serialization, for reading and writing bags and network messages
7 lines • 324 B
TypeScript
/**
* Fast UTF8 string decoding. TextDecoder becomes faster for large strings, but String.fromCharCode
* is faster for small strings. However, TextDecoder is required if the data contains any non-ASCII
* chars.
*/
export default function decodeString(data: Uint8Array): string;
//# sourceMappingURL=decodeString.d.ts.map