I tried to load file (239 Mb, 251 356 410 bytes) and got RangeError: invalid array length on Array.from. Then I wanna make JSON.stringify for the read data and send it by API. Files can be even larger. Please help me solve this issue.
const uint8Array = new Uint8Array(fileReader.result);
const intArray = Array.from(uint8Array);