const VIDEO_1S_MP4 =
  "[encoded data, 4592 characters]";

const b64ToUint8Array = (b64) => {
  const bin = atob(b64);
  const len = bin.length;
  const bytes = new Uint8Array(len);
  for (let i = 0; i < len; i++) {
    bytes[i] = bin.charCodeAt(i);
  }
  return bytes;
};

if (typeof module !== "undefined") {
  module.exports = {
    VIDEO_1S_MP4,
    b64ToUint8Array,
  };
}
