包含文件的目录的二进制结构

发布于 2024-09-26 19:11:00 字数 292 浏览 1 评论 0原文

我正在尝试解决以下问题。我想使用 C# 创建一组包含文件的目录,但在内存中使用字符串/字节数组,并且我试图找出所有这些的格式和字节序列。我的意思是类似

<文件头的魔法序列> ... 文件 2 文件 3 ... 等等 ... 等等。

我在这里讨论的是 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

深白境迁sunset 2024-10-03 19:11:00

您所查看的内容取决于所使用的文件系统。文件系统定义文件和目录的存储方式。在 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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文