ArchiveByteStream
An archive stream that reads from and writes to buffers.
Declaration
class ArchiveByteStreamTopics
Creating an Archive Byte Stream
Using Archive Byte Streams
Compressing Data
compressionStream(using:writingTo:blockSize:flags:threadCount:)withCompressionStream(using:writingTo:blockSize:flags:threadCount:_:)compressionStream(appendingTo:flags:threadCount:)withCompressionStream(appendingTo:flags:threadCount:_:)
Decompressing Data
decompressionStream(readingFrom:flags:threadCount:)withDecompressionStream(readingFrom:flags:threadCount:_:)randomAccessDecompressionStream(readingFrom:allocationLimit:flags:threadCount:)withRandomAccessDecompressionStream(readingFrom:allocationLimit:flags:threadCount:_:)
Encrypting Data
encryptionStream(appendingTo:encryptionContext:flags:threadCount:)encryptionStream(writingTo:encryptionContext:flags:threadCount:)
Decrypting Data
decryptionStream(readingFrom:encryptionContext:flags:threadCount:)randomAccessDecryptionStream(readingFrom:encryptionContext:allocationLimit:flags:threadCount:)
Processing Data
File Streaming
fileStream(fd:automaticClose:)withFileStream(fd:automaticClose:_:)fileStream(path:mode:options:permissions:)withFileStream(path:mode:options:permissions:_:)temporaryFileStream()withTemporaryFileStream(_:)