What steps will reproduce the bug?
readSync(reader, buffer, 0, 12, BigInt(position))
How often does it reproduce? Is there a required condition?
Everytime.
What is the expected behavior?
It should read from the position in the file, and it will if you use Number(position) on a BigInt position.
What do you see instead?
The call reads data into the buffer but it begins at position 0 in the file instead of at the position noted in the BigInt.