LGTM; you /may/ want to just create a variable for "bytesLeft" to make it a bit clearer; but should be fine.