Thank you very much!
> On 29 Dec 2016, at 23:03, Guillaume Lessard via swift-users > <swift-users@swift.org> wrote: > > Hi Etan, > > `withMemoryRebound` does not copy memory. > The proposal for UnsafeRawPointer contains information about the memory model > (as related to pointers): > https://github.com/apple/swift-evolution/blob/master/proposals/0107-unsaferawpointer.md > > (also, the method is defined in the following file: > https://github.com/apple/swift/blob/master/stdlib/public/core/UnsafePointer.swift.gyb) > > The capacity parameter of withMemoryRebound allows rebinding a contiguous > buffer at once; it might be nice if it had a default value of 1. > > Cheers, > Guillaume Lessard > > _______________________________________________ > swift-users mailing list > swift-users@swift.org > https://lists.swift.org/mailman/listinfo/swift-users _______________________________________________ swift-users mailing list swift-users@swift.org https://lists.swift.org/mailman/listinfo/swift-users