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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top