Open
Description
FilePosition is a newtyped Int, so there is no random access > 2G with the purscript API.
Node.js can do this just fine - node.js numbers are safe to use as integers up to 53 bits.
Making FilePosition a Number would work but I don't like seeing offsets with a decimal point. I used Data.Int53 in my workaround module.
It could be argued that buffer lengths, offsets and bytecounts should be Int53s too. But these are all breaking changes and I can live with doing IO in chunks < 2GB.