Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们什么时候使用内存流?
MemoryStreambyte[]是一种实现流的包装器。当您有读取Stream或写入它的类时需要它,但您需要获取/设置原始字节。
MemoryStream
byte[]
Stream