Difference between a byte array and MemoryStream

后端 未结 2 1677
有刺的猬
有刺的猬 2021-02-04 03:39

I am reading a binary file into a parsing program. I will need to iterate through the file and look for certain markers so I can split the file up and pass those parts into the

2条回答
  •  南旧
    南旧 (楼主)
    2021-02-04 04:06

    A MemoryStream is basically a byte array with a stream interface, e.g. sequential reading/writing and the concept of a current position.

提交回复
热议问题