withUnsafeBuffer(_:)

Access the underlying Buffer object. This function should be used to bridge existing code that uses the Buffer type.

Declaration

func withUnsafeBuffer<R>(_ body: (Self.Buffer) throws -> sending  R) rethrows -> sending R where R : ~Copyable