63311147

Date: 2020-08-08 03:11:14
Score: 4
Natty:
Report link

Can't you create a byte array from your original stream, so you can pass it as a ByteArrayInputStream?

See the answer to this

How to clone an InputStream?

Another workaround maybe reading the file and getting lines length...

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Can't you
  • Low reputation (1):
Posted by: Daniel Gonzabay