静态方法:zlib.ZipEntry.read(buffer)


🌐 Static method: zlib.ZipEntry.read(buffer)

直接解析 buffer 中的每一条记录,而不将其索引到 ZipBuffer。像 ZipBuffer 一样,生成的条目持有对 buffer 的零拷贝视图,而不是其内容的副本,所以同样的规则适用:在任何条目仍在使用时,不要修改或重用 buffer。

🌐 Parses every entry out of buffer directly, without indexing it into a ZipBuffer. Like ZipBuffer, the yielded entries hold zero-copy views of buffer rather than copies of their content, so the same rule applies: do not mutate or reuse buffer while any of them is still in use.