Hi all,
Can someone here give me an example of how to create a method that takes an InputStream as an parameter, reads the stream and returns the number of characters it contains as an int?
It could be a actual Java code ot a pseudo code.
I just need something to start me off with a method i'm creating.
Thanks.
Can someone here give me an example of how to create a method that takes an InputStream as an parameter, reads the stream and returns the number of characters it contains as an int?
It could be a actual Java code ot a pseudo code.
I just need something to start me off with a method i'm creating.
Thanks.