The Stream class finally has a method for copying from one stream to another.
Stream类终于有从一个流复制到另外一个的方法了。
For example, one class may open a stream and pass it to another class to read information from a file.
例如,一个类可能会打开一个流,并将其传递给另一个类以阅读来自文件的信息。
In fact, just dumping the contents of the binary serialized stream to the console is sufficient to figure out what the class looks like and contains.
实际上,只需将二进制序列化流的内容转储到控制台,就足以看清类是什么样子,以及它包含什么内容。
应用推荐