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.

shimtannyRank #3,312 · 434 pointsPosted Feb 13, 2005, 12:43 AM EST
kavitha.nallamothu12 pointsPosted Feb 13, 2005, 6:15 PM EST
kavitha.nallamothu12 pointsPosted Feb 13, 2005, 6:56 PM EST
MykonineRank #2,671 · 521 pointsPosted Feb 13, 2005, 8:34 PM EST
kavitha.nallamothu12 pointsPosted Feb 13, 2005, 8:50 PM EST
kavitha.nallamothu12 pointsPosted Feb 15, 2005, 11:42 PM EST
kavitha.nallamothu12 pointsPosted Feb 18, 2005, 11:33 PM EST