SwiftZip Documentation Beta

Protocol Zip​Source​Readable

public protocol ZipSourceReadable: ZipSourceAdapter

A protocol for custom readable sources.

%3 ZipSourceReadable ZipSourceReadable ZipSourceAdapter ZipSourceAdapter ZipSourceReadable->ZipSourceAdapter ZipSourceSeekable ZipSourceSeekable ZipSourceSeekable->ZipSourceReadable

Conforms To

ZipSourceAdapter

A base protocol for all custom sources.

Types Conforming to Zip​Source​Readable

ZipSourceSeekable

A protocol for custom readable and seekable sources.

Requirements

open()

func open() throws

read(to:​count:​)

func read(to buffer: UnsafeMutableRawPointer, count: Int) throws -> Int

close()

func close() throws

stat()

func stat() throws -> ZipStat