SwiftclasslibswiftAppleArchive

class AppleArchive.ArchiveByteStream

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 32

  1. funcstatic compressionStream(appendingTo: AppleArchive.ArchiveByteStream, flags: AppleArchive.ArchiveFlags, threadCount: Int) -> AppleArchive.ArchiveByteStream?
  2. funcstatic compressionStream(using: AppleArchive.ArchiveCompression, writingTo: AppleArchive.ArchiveByteStream, blockSize: Int, flags: AppleArchive.ArchiveFlags, threadCount: Int) -> AppleArchive.ArchiveByteStream?
  3. funcstatic customStream<A where A: AnyObject, A: AppleArchive.ArchiveByteStreamProtocol>(instance: A) -> AppleArchive.ArchiveByteStream?
  4. funcstatic decompressionStream(readingFrom: AppleArchive.ArchiveByteStream, flags: AppleArchive.ArchiveFlags, threadCount: Int) -> AppleArchive.ArchiveByteStream?
  5. funcstatic decryptionStream(readingFrom: AppleArchive.ArchiveByteStream, encryptionContext: AppleArchive.ArchiveEncryptionContext, flags: AppleArchive.ArchiveFlags, threadCount: Int) -> AppleArchive.ArchiveByteStream?
  6. funcstatic encryptionStream(appendingTo: AppleArchive.ArchiveByteStream, encryptionContext: AppleArchive.ArchiveEncryptionContext, flags: AppleArchive.ArchiveFlags, threadCount: Int) -> AppleArchive.ArchiveByteStream?
  7. funcstatic encryptionStream(writingTo: AppleArchive.ArchiveByteStream, encryptionContext: AppleArchive.ArchiveEncryptionContext, flags: AppleArchive.ArchiveFlags, threadCount: Int) -> AppleArchive.ArchiveByteStream?
  8. funcstatic fileStream(fd: System.FileDescriptor, automaticClose: Bool) -> AppleArchive.ArchiveByteStream?
  9. funcstatic fileStream(path: System.FilePath, mode: System.FileDescriptor.AccessMode, options: System.FileDescriptor.OpenOptions, permissions: System.FilePermissions) -> AppleArchive.ArchiveByteStream?
  10. funcstatic process(readingFrom: AppleArchive.ArchiveByteStream, writingTo: AppleArchive.ArchiveByteStream) throws -> Int64
  11. funcstatic randomAccessDecompressionStream(readingFrom: AppleArchive.ArchiveByteStream, allocationLimit: Int, flags: AppleArchive.ArchiveFlags, threadCount: Int) -> AppleArchive.ArchiveByteStream?
  12. funcstatic randomAccessDecryptionStream(readingFrom: AppleArchive.ArchiveByteStream, encryptionContext: AppleArchive.ArchiveEncryptionContext, allocationLimit: Int, flags: AppleArchive.ArchiveFlags, threadCount: Int) -> AppleArchive.ArchiveByteStream?
  13. funcstatic sharedBufferPipe(capacity: Int) -> (output: AppleArchive.ArchiveByteStream, input: AppleArchive.ArchiveByteStream)?
  14. funcstatic temporaryFileStream() -> AppleArchive.ArchiveByteStream?
  15. funcstatic withCompressionStream<A>(appendingTo: AppleArchive.ArchiveByteStream, flags: AppleArchive.ArchiveFlags, threadCount: Int, _: (AppleArchive.ArchiveByteStream) throws -> A) throws -> A
  16. funcstatic withCompressionStream<A>(using: AppleArchive.ArchiveCompression, writingTo: AppleArchive.ArchiveByteStream, blockSize: Int, flags: AppleArchive.ArchiveFlags, threadCount: Int, _: (AppleArchive.ArchiveByteStream) throws -> A) throws -> A
  17. funcstatic withDecompressionStream<A>(readingFrom: AppleArchive.ArchiveByteStream, flags: AppleArchive.ArchiveFlags, threadCount: Int, _: (AppleArchive.ArchiveByteStream) throws -> A) throws -> A
  18. funcstatic withFileStream<A>(fd: System.FileDescriptor, automaticClose: Bool, _: (AppleArchive.ArchiveByteStream) throws -> A) throws -> A
  19. funcstatic withFileStream<A>(path: System.FilePath, mode: System.FileDescriptor.AccessMode, options: System.FileDescriptor.OpenOptions, permissions: System.FilePermissions, _: (AppleArchive.ArchiveByteStream) throws -> A) throws -> A
  20. funcstatic withRandomAccessDecompressionStream<A>(readingFrom: AppleArchive.ArchiveByteStream, allocationLimit: Int, flags: AppleArchive.ArchiveFlags, threadCount: Int, _: (AppleArchive.ArchiveByteStream) throws -> A) throws -> A
  21. funcstatic withStream<A, B where A: AnyObject, A: AppleArchive.ArchiveByteStreamProtocol>(wrapping: A, _: (AppleArchive.ArchiveByteStream) throws -> B) throws -> B
  22. funcstatic withTemporaryFileStream<A>((AppleArchive.ArchiveByteStream) throws -> A) throws -> A
  23. deinitdeinit
  24. funccancel() -> ()
  25. funcclose(updatingContext: AppleArchive.ArchiveEncryptionContext) throws -> ()
  26. funcclose() throws -> ()
  27. funcread(into: UnsafeMutableRawBufferPointer) throws -> Int
  28. funcread(into: UnsafeMutableRawBufferPointer, atOffset: Int64) throws -> Int
  29. funcseek(toOffset: Int64, relativeTo: System.FileDescriptor.SeekOrigin) throws -> Int64
  30. funcwrite(from: UnsafeRawBufferPointer) throws -> Int
  31. funcwrite(from: UnsafeRawBufferPointer, atOffset: Int64) throws -> Int
  32. initAppleArchive.ArchiveByteStream.__allocating_init(object: OpaquePointer?, owned: Bool) -> AppleArchive.ArchiveByteStream
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
}