开发者

File pointer in C# | How to access multiple segments of a large file

开发者 https://www.devze.com 2023-02-26 22:44 出处:网络
I have a large file, want to keep 5-6 pointer which divides the file in chunks and gives faster access to any part. Is is possible to achieve in开发者_运维问答 c#.I think Memory-Mapped Files is the cl

I have a large file, want to keep 5-6 pointer which divides the file in chunks and gives faster access to any part. Is is possible to achieve in开发者_运维问答 c#.


I think Memory-Mapped Files is the closest option to do what you want to do, without much hardwork on your side.

Edit : I assumed you are on .NET 4.0 since this is not available in earlier framework versions. Nice article talking about efficiency you are looking for

0

精彩评论

暂无评论...
验证码 换一张
取 消