You are reading a single comment by @Asynchronous and its replies. Click here to read the full conversation.
  • I compress an object: schedule = require("heatshrink").compress(JSON.pars­e(require("Storage").read("CustomSchedul­e.json")));
    Printing the value of schedule returns new Uint8Array([0, 2]).buffer.
    I then decompress using console.log(require("heatshrink").decomp­ress(schedule)); and get new ArrayBuffer(2).
    How can I convert the ArrayBuffer back to an object?

About