我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

我可以依靠archive / zip.Reader.File中文件的顺序吗?

I am writing an app that would allow random access to files in a zip archive based on the md5sum of the files. To do that, I am planning to map each hashsum to a tuple of (zip_file, file_index).

Can I rely on the order of Files in archive/zip.Reader? I presume it's same as the order of files in the archive but couldn't find any resources.

Thanks!

近期文章

  • Google Cloud Function + Go +签名URL +服务帐户
  • 制作PIE对象时,不能使用golang gcc c ++现有的静态库; 用-fPIC重新编译
  • 在Go中实现聚合的最佳方法(例如SQL中的GROUP BY)?
  • 文件被复制到根目录以及目标目录中
  • UpdateOne,ReplaceOne,FindOneAndReplace-模式匹配,但没有更新数据
  • 从SQL查询替换表名
  • 如何停止转义html / template的路径(尝试使用.HTML .JS等)
  • 安排多个goroutine
  • AWS Golang SDK设置调试级别
  • go常规频道中的同步问题
  • 无法从源代码安装Go-Ipfs
  • apache kafka消费者恢复行为
  • 无法将字符串解析到数据存储区
  • 跨多个类型的字段X的通用归因
  • 时标gogolang中的IST时区错误
  • 如何将React(Frontend)和Go(BE)部署到heroku?
  • 记录SQL查询
  • googleapi:错误503:后端错误,golang中的backenderror
  • 大量tcp拨号并发超时超过10000
  • 如何使用golang和mongo-go-driver在mongodb中创建文本索引?

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华