包含文件的目录的二进制结构
我正在尝试解决以下问题。我想使用 C# 创建一组包含文件的目录,但在内存中使用字符串/字节数组,并且我试图找出所有这些的格式和字节序列。我的意思是类似
我在这里讨论的是 Windows 格式。
您能给我指出一个可以阅读此内容的位置,或者更好的是,给我一些现有的示例吗?
谢谢 ! 天使
I'm trying to solve the following problem. I want to create a set of directories with files in them , but in memory using C# , using strings / byte arrays, and I am trying to figure out what's the format and byte sequence for all of this. i mean something like
<magic sequence for top directory header> <magic sequence for file header> </ end file> ... file 2 file 3 ... etc ... </magic sequence for the directory header> , etc.
I'm talking about windows formats here.
Could you point me to a location where i can read about this or even better, give me some existing examples?
Thanks !
Angel
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您所查看的内容取决于所使用的文件系统。文件系统定义文件和目录的存储方式。在 Windows 上,常见的格式是 FAT32 和 NTFS(未公开提供) )。
如上面的链接所示,FAT 格式由 指定微软
What you are looking depends on the filesystem in use. The filesystem defines how files and directories are stored. On windows a common format is FAT32 and NTFS (which is not publically available).
As shown in the link above, the FAT format is specified by Microsoft