I would say the last method description is a bit confusing. If you look up
InputStream#skip(long), you will find that you pass the number of bytes you want to skip, and the method returns the number of bytes actually skipped, which might be different. More information in that link.