Hey everyone. I'm converting the image-size project from nodejs to SuiteScript, and I'm unsure how to proceed. I need a way to load the image file into a Uint8Array.
nodejs has the fs module but that's much more like PHP's module, and NetSuite has something different, the N/file module.
Can I do with just File.getContents() or would that possibly read incorrectly since it's assuming I want text instead of whatever image files are encoded as?