UNPKG

@foxglove/rosbag2-web

Version:

ROS2 (Robot Operating System) bag reader and writer for the browser

6 lines (4 loc) 218 B
import { TextEncoder, TextDecoder } from "node:util"; // JSDOM does not provide TextEncoder and TextDecoder globalThis.TextEncoder = TextEncoder; globalThis.TextDecoder = TextDecoder as typeof globalThis.TextDecoder;