c# - Is there an interface for System.IO.Stream? -


I am writing a class that needs to be taken in the object, record it the current state, update the object, and it Pass only one problem in the second category is that you can get only one square and I need that my project has the successor of a class. I'm interested in system.io.stream because I want that if it is necessary, then transfer this class to most of the thread without its thread if not all sockets and other ways of IPC. The main problem is, what systems Is there an interface for iOSstream? If not, is there a way I can get functionality without sacrificing that project-important data? (I am sorry that if I feel a little uncomfortable, then I am not sure how to say the word of this question.)

It looks like IEnumerable & lt; T & gt; is a better fit - good for currents around bytes , but it is good to represent more normal currents of the auditor's objects.

You want something that is made from a stream (for example a socket) and with built-in objects, perhaps the C # Iterator block (yield statement etc.). After this you can see the IEnumerable & lt; T & gt; You can use the processing function, filter etc. on , and you can bring it back in the socket (or other byte stream) later.

To answer the question - No, there is no interface of stream , but it is not clear how relevant this is for the threading part of your question. Is it that you are interested in ASCIN IO?


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -