I read periodically 16-bit frames from a file,
last frame I need to know if there are enough data and file is valid for my format.

```
f.read(16)

```

returns an empty string if there is no more data more or data if there is at least 1 byte.
How can I check how many unread bytes are left in a file?