mirror of
https://github.com/passepartoutvpn/wireguard-apple.git
synced 2025-01-17 22:09:06 +00:00
Zip: Increase size of buffer used to read data from the archive
This commit is contained in:
parent
aa915fc54c
commit
2e5d467bc7
@ -59,7 +59,7 @@ class ZipArchive {
|
||||
throw ZipArchiveError.badArchive
|
||||
}
|
||||
|
||||
let bufferSize = 1024
|
||||
let bufferSize = 16384 // 16 kb
|
||||
var fileNameBuffer = UnsafeMutablePointer<Int8>.allocate(capacity: bufferSize)
|
||||
var dataBuffer = UnsafeMutablePointer<Int8>.allocate(capacity: bufferSize)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user