SwiftclasslibswiftAppleArchive
ArchiveByteStream
class AppleArchive.ArchiveByteStream
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
Members 32
- func
static compressionStream(appendingTo: AppleArchive.ArchiveByteStream, flags: AppleArchive.ArchiveFlags, threadCount: Int) -> AppleArchive.ArchiveByteStream? - func
static compressionStream(using: AppleArchive.ArchiveCompression, writingTo: AppleArchive.ArchiveByteStream, blockSize: Int, flags: AppleArchive.ArchiveFlags, threadCount: Int) -> AppleArchive.ArchiveByteStream? - func
static customStream<A where A: AnyObject, A: AppleArchive.ArchiveByteStreamProtocol>(instance: A) -> AppleArchive.ArchiveByteStream? - func
static decompressionStream(readingFrom: AppleArchive.ArchiveByteStream, flags: AppleArchive.ArchiveFlags, threadCount: Int) -> AppleArchive.ArchiveByteStream? - func
static decryptionStream(readingFrom: AppleArchive.ArchiveByteStream, encryptionContext: AppleArchive.ArchiveEncryptionContext, flags: AppleArchive.ArchiveFlags, threadCount: Int) -> AppleArchive.ArchiveByteStream? - func
static encryptionStream(appendingTo: AppleArchive.ArchiveByteStream, encryptionContext: AppleArchive.ArchiveEncryptionContext, flags: AppleArchive.ArchiveFlags, threadCount: Int) -> AppleArchive.ArchiveByteStream? - func
static encryptionStream(writingTo: AppleArchive.ArchiveByteStream, encryptionContext: AppleArchive.ArchiveEncryptionContext, flags: AppleArchive.ArchiveFlags, threadCount: Int) -> AppleArchive.ArchiveByteStream? - func
static fileStream(fd: System.FileDescriptor, automaticClose: Bool) -> AppleArchive.ArchiveByteStream? - func
static fileStream(path: System.FilePath, mode: System.FileDescriptor.AccessMode, options: System.FileDescriptor.OpenOptions, permissions: System.FilePermissions) -> AppleArchive.ArchiveByteStream? - func
static process(readingFrom: AppleArchive.ArchiveByteStream, writingTo: AppleArchive.ArchiveByteStream) throws -> Int64 - func
static randomAccessDecompressionStream(readingFrom: AppleArchive.ArchiveByteStream, allocationLimit: Int, flags: AppleArchive.ArchiveFlags, threadCount: Int) -> AppleArchive.ArchiveByteStream? - func
static randomAccessDecryptionStream(readingFrom: AppleArchive.ArchiveByteStream, encryptionContext: AppleArchive.ArchiveEncryptionContext, allocationLimit: Int, flags: AppleArchive.ArchiveFlags, threadCount: Int) -> AppleArchive.ArchiveByteStream? - func
static sharedBufferPipe(capacity: Int) -> (output: AppleArchive.ArchiveByteStream, input: AppleArchive.ArchiveByteStream)? - func
static temporaryFileStream() -> AppleArchive.ArchiveByteStream? - func
static withCompressionStream<A>(appendingTo: AppleArchive.ArchiveByteStream, flags: AppleArchive.ArchiveFlags, threadCount: Int, _: (AppleArchive.ArchiveByteStream) throws -> A) throws -> A - func
static withCompressionStream<A>(using: AppleArchive.ArchiveCompression, writingTo: AppleArchive.ArchiveByteStream, blockSize: Int, flags: AppleArchive.ArchiveFlags, threadCount: Int, _: (AppleArchive.ArchiveByteStream) throws -> A) throws -> A - func
static withDecompressionStream<A>(readingFrom: AppleArchive.ArchiveByteStream, flags: AppleArchive.ArchiveFlags, threadCount: Int, _: (AppleArchive.ArchiveByteStream) throws -> A) throws -> A - func
static withFileStream<A>(fd: System.FileDescriptor, automaticClose: Bool, _: (AppleArchive.ArchiveByteStream) throws -> A) throws -> A - func
static withFileStream<A>(path: System.FilePath, mode: System.FileDescriptor.AccessMode, options: System.FileDescriptor.OpenOptions, permissions: System.FilePermissions, _: (AppleArchive.ArchiveByteStream) throws -> A) throws -> A - func
static withRandomAccessDecompressionStream<A>(readingFrom: AppleArchive.ArchiveByteStream, allocationLimit: Int, flags: AppleArchive.ArchiveFlags, threadCount: Int, _: (AppleArchive.ArchiveByteStream) throws -> A) throws -> A - func
static withStream<A, B where A: AnyObject, A: AppleArchive.ArchiveByteStreamProtocol>(wrapping: A, _: (AppleArchive.ArchiveByteStream) throws -> B) throws -> B - func
static withTemporaryFileStream<A>((AppleArchive.ArchiveByteStream) throws -> A) throws -> A - deinit
deinit - func
cancel() -> () - func
close(updatingContext: AppleArchive.ArchiveEncryptionContext) throws -> () - func
close() throws -> () - func
read(into: UnsafeMutableRawBufferPointer) throws -> Int - func
read(into: UnsafeMutableRawBufferPointer, atOffset: Int64) throws -> Int - func
seek(toOffset: Int64, relativeTo: System.FileDescriptor.SeekOrigin) throws -> Int64 - func
write(from: UnsafeRawBufferPointer) throws -> Int - func
write(from: UnsafeRawBufferPointer, atOffset: Int64) throws -> Int - init
AppleArchive.ArchiveByteStream.__allocating_init(object: OpaquePointer?, owned: Bool) -> AppleArchive.ArchiveByteStream
Header
class ArchiveByteStream: AppleArchive._AAOptionalObjectWrapper<AppleArchive._AAByteStreamTraits> { class CustomByteStreamBridge { var instance: (any AppleArchive.ArchiveByteStreamProtocol)? var aaStream: Swift.OpaquePointer? } func read(into: Swift.UnsafeMutableRawBufferPointer) throws -> Swift.Int func read(into: Swift.UnsafeMutableRawBufferPointer, atOffset: Swift.Int64) throws -> Swift.Int func write(from: Swift.UnsafeRawBufferPointer) throws -> Swift.Int func write(from: Swift.UnsafeRawBufferPointer, atOffset: Swift.Int64) throws -> Swift.Int func seek(toOffset: Swift.Int64, relativeTo: System.FileDescriptor.SeekOrigin) throws -> Swift.Int64 func cancel() func close() throws init(object: Swift.OpaquePointer?, owned: Swift.Bool) func close(updatingContext: AppleArchive.ArchiveEncryptionContext) throws static func decryptionStream(readingFrom: AppleArchive.ArchiveByteStream, encryptionContext: AppleArchive.ArchiveEncryptionContext, flags: AppleArchive.ArchiveFlags, threadCount: Swift.Int) -> AppleArchive.ArchiveByteStream? static func encryptionStream(appendingTo: AppleArchive.ArchiveByteStream, encryptionContext: AppleArchive.ArchiveEncryptionContext, flags: AppleArchive.ArchiveFlags, threadCount: Swift.Int) -> AppleArchive.ArchiveByteStream? static func encryptionStream(writingTo: AppleArchive.ArchiveByteStream, encryptionContext: AppleArchive.ArchiveEncryptionContext, flags: AppleArchive.ArchiveFlags, threadCount: Swift.Int) -> AppleArchive.ArchiveByteStream? static func compressionStream(appendingTo: AppleArchive.ArchiveByteStream, flags: AppleArchive.ArchiveFlags, threadCount: Swift.Int) -> AppleArchive.ArchiveByteStream? static func compressionStream(using: AppleArchive.ArchiveCompression, writingTo: AppleArchive.ArchiveByteStream, blockSize: Swift.Int, flags: AppleArchive.ArchiveFlags, threadCount: Swift.Int) -> AppleArchive.ArchiveByteStream? static func decompressionStream(readingFrom: AppleArchive.ArchiveByteStream, flags: AppleArchive.ArchiveFlags, threadCount: Swift.Int) -> AppleArchive.ArchiveByteStream? static func temporaryFileStream() -> AppleArchive.ArchiveByteStream? static func withCompressionStream<A>(appendingTo: AppleArchive.ArchiveByteStream, flags: AppleArchive.ArchiveFlags, threadCount: Swift.Int, _: (_: AppleArchive.ArchiveByteStream) throws -> A) throws -> A static func withCompressionStream<A>(using: AppleArchive.ArchiveCompression, writingTo: AppleArchive.ArchiveByteStream, blockSize: Swift.Int, flags: AppleArchive.ArchiveFlags, threadCount: Swift.Int, _: (_: AppleArchive.ArchiveByteStream) throws -> A) throws -> A static func withDecompressionStream<A>(readingFrom: AppleArchive.ArchiveByteStream, flags: AppleArchive.ArchiveFlags, threadCount: Swift.Int, _: (_: AppleArchive.ArchiveByteStream) throws -> A) throws -> A static func withTemporaryFileStream<A>(_: (_: AppleArchive.ArchiveByteStream) throws -> A) throws -> A static func randomAccessDecryptionStream(readingFrom: AppleArchive.ArchiveByteStream, encryptionContext: AppleArchive.ArchiveEncryptionContext, allocationLimit: Swift.Int, flags: AppleArchive.ArchiveFlags, threadCount: Swift.Int) -> AppleArchive.ArchiveByteStream? static func randomAccessDecompressionStream(readingFrom: AppleArchive.ArchiveByteStream, allocationLimit: Swift.Int, flags: AppleArchive.ArchiveFlags, threadCount: Swift.Int) -> AppleArchive.ArchiveByteStream? static func withRandomAccessDecompressionStream<A>(readingFrom: AppleArchive.ArchiveByteStream, allocationLimit: Swift.Int, flags: AppleArchive.ArchiveFlags, threadCount: Swift.Int, _: (_: AppleArchive.ArchiveByteStream) throws -> A) throws -> A static func fileStream(fd: System.FileDescriptor, automaticClose: Swift.Bool) -> AppleArchive.ArchiveByteStream? static func fileStream(path: System.FilePath, mode: System.FileDescriptor.AccessMode, options: System.FileDescriptor.OpenOptions, permissions: System.FilePermissions) -> AppleArchive.ArchiveByteStream? static func withStream<A, B>(wrapping: A, _: (_: AppleArchive.ArchiveByteStream) throws -> B) throws -> B where A: AnyObject, A: AppleArchive.ArchiveByteStreamProtocol static func customStream<A>(instance: A) -> AppleArchive.ArchiveByteStream? where A: AnyObject, A: AppleArchive.ArchiveByteStreamProtocol static func withFileStream<A>(fd: System.FileDescriptor, automaticClose: Swift.Bool, _: (_: AppleArchive.ArchiveByteStream) throws -> A) throws -> A static func withFileStream<A>(path: System.FilePath, mode: System.FileDescriptor.AccessMode, options: System.FileDescriptor.OpenOptions, permissions: System.FilePermissions, _: (_: AppleArchive.ArchiveByteStream) throws -> A) throws -> A static func sharedBufferPipe(capacity: Swift.Int) -> (output: AppleArchive.ArchiveByteStream, input: AppleArchive.ArchiveByteStream)? static func process(readingFrom: AppleArchive.ArchiveByteStream, writingTo: AppleArchive.ArchiveByteStream) throws -> Swift.Int64 deinit }