7
Answers

reading byte by byte

hi all i have converted java files to c# files. in java inputstream class is there , read method reads byte by byte. int i=inputstream.read() is working fine in java. but in c# readbyte() method is there...which says it reads byte by byte...but i am getting int i=stream.readbyte() returning -1....even it has buffer data in it.... could u please help me out. thanks request.
Answers (7)