■94619 / ) |
Re[21]: 圧縮・解凍をメモリ上で行う方法 |
□投稿者/ gegege (18回)-(2020/04/24(Fri) 23:05:36)
|
すいません、ZipArchiveの方で SeekあるいはPosition変更したいのですが、 この操作はサポートされていません というエラーが出ます。 コードは以下の通りです、
ポジションを変えたい場合どうすれば良いですか?
Dim archive As ZipArchive = ZipFile.OpenRead(FileInPath)
For Each entry As ZipArchiveEntry In archive.Entries
stream = entry.Open stream.position = 10 stream.Seek(10, SeekOrigin.Begin)
Exit For
Next entry
|
|