Contents

FSVolume.ReadWriteHandler

Methods implemented for read and write operations that deliver data to and from the extension.

Declaration

protocol ReadWriteHandler : NSObjectProtocol

Overview

Most volumes conform to either this protocol or FSVolume.KernelOffloadedIOHandler. You can conform to both if you need to provide kernel-offloaded I/O only for certain files. In that case, files with the inhibitKernelOffloadedIO attribute set use this protocol, and those without it use FSVolume.KernelOffloadedIOHandler. A volume that doesn’t conform to either protocol can’t support any I/O operation.

Topics

Reading and writing

See Also

Implementing optional handlers