Changed bytesLeft to long, per #10

Hi Eddie,

Here is the pull request for #10