File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Sources/Roboflow/Classes/Utils Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
Pod ::Spec . new do |spec |
2
2
spec . name = "Roboflow"
3
- spec . version = "1.2.3 "
3
+ spec . version = "1.2.4 "
4
4
spec . platform = :ios , '15.2'
5
5
spec . ios . deployment_target = '15.2'
6
6
spec . summary = "A framework for interfacing with Roboflow"
Original file line number Diff line number Diff line change @@ -217,7 +217,7 @@ public class ZipExtractor {
217
217
// ZIP uses "raw deflate" without zlib headers, but Apple's Compression framework
218
218
// expects different formats. Let's try multiple approaches.
219
219
220
- return try data. withUnsafeBytes { ( bytes: UnsafeRawBufferPointer ) -> Data in
220
+ return data. withUnsafeBytes { ( bytes: UnsafeRawBufferPointer ) -> Data in
221
221
let buffer = UnsafeMutablePointer< UInt8> . allocate( capacity: expectedSize)
222
222
defer { buffer. deallocate ( ) }
223
223
@@ -253,7 +253,7 @@ public class ZipExtractor {
253
253
zlibData. append ( data)
254
254
zlibData. append ( contentsOf: zlibFooter)
255
255
256
- let finalResult = try zlibData. withUnsafeBytes { ( zlibBytes: UnsafeRawBufferPointer ) -> Data in
256
+ let finalResult = zlibData. withUnsafeBytes { ( zlibBytes: UnsafeRawBufferPointer ) -> Data in
257
257
let zlibDecompressedSize = compression_decode_buffer (
258
258
buffer, expectedSize,
259
259
zlibBytes. bindMemory ( to: UInt8 . self) . baseAddress!, zlibData. count,
You can’t perform that action at this time.
0 commit comments