Returns the current file position of the stream.
stream
int ftell(FILE stream) { try { return stream._raf.positionSync(); } catch (e) { return -1; } }