I have read a bunch of posts explaining what streams are and why they are needed. From what I understand a stream is a way of transferring binary data(1100110110111100) from one place to another. This brings me to my first questions:
Is this kinda like or exactly like a serial communication data transfer?
Are all streams just serial communication? Even Twitch.tv?
The classes that .NET provides take the binary data(1100010101011100110) and converts it to a usable format so that we can work with. Kind of like a translator or decipher-er or encoder (which ever term is the most accurate) For example, the StreamReader
class converts the binary data of a stream to text.
I was a little confused when I saw that the StorageFile
class had methods that could manipulate files without opening a stream, like CopyAsync
and MoveAsync
. In instances like these a stream is not needed because there is no translation from or to binary, just copying and deletion.
How much did I get right?