write(from:atOffset:)
Writes data at the supplied offset from the specified buffer, not exceeding the buffer’s allocated size.
Declaration
func write(from buffer: UnsafeRawBufferPointer, atOffset offset: Int64) throws -> IntParameters
- buffer:
The data buffer that the operation uses as a source for the data.
- offset:
The stream position of the segment that the operation writes.
Return Value
The number of bytes written by the stream.