function o(t) {
  const a = t == 0 ? 0 : Math.floor(Math.log(t) / Math.log(1024));
  return +(t / Math.pow(1024, a)).toFixed(2) * 1 + " " + ["B", "kB", "MB", "GB", "TB"][a];
}
export {
  o as default
};
