Reads bytes at the specified offset into a buffer.
func read(fromAbsoluteOffset offset: Int64, into buffer: UnsafeMutableRawBufferPointer, retryOnInterrupt: Bool = true) throws -> Int
The number of bytes that were read.
doc://com.apple.documentation/documentation/swift/unsafemutablerawbufferpointer/3019191-count property of
buffer determines the maximum number of bytes that are read into that buffer.
read(into:retryOnInterrupt:), this method leaves the file’s existing offset unchanged.
The corresponding C function is