VKDownloader
public class VKDownloader
-
Declaration
Swift
open class func firstTwoBitesAndSize(of url: URL, completion: @escaping (_ data: Data?, _ size: Int, _ error: Error?) -> ()) -> VKCancellable
-
Declaration
Swift
public class func data(of url: URL, with range: NSRange, dataBlock: @escaping (Data, Int) -> (), completion: @escaping (_ size: Int, _ error: Error?) -> ()) -> VKCancellable