Java to .Net conversion - problem with InputStream

  • Thread starter Thread starter DM
  • Start date Start date
D

DM

Hello.

I'm trying to port Java application to C#. During
my effort I enoucntered a problem for which I can't find
an easy solution.
Ad rem: The program I'm trying to port uses available()
method of Java's InputStream. This method returns numer of bytes
available for reading without blocking the procces. Unfortunately
System.IO.Stream does not provide similar functionality. Does
anyone know any solution, workaround for this problem??

Thank you.
 
Hi DM,

Although there are a lot of C# experts who are also regulars in this
newsgroup, there are more in the newsgroup.

microsoft.public.dotnet.languages.csharp

Just to help you,

Cor
 
Back
Top