[swift-users] How much memory does withMemoryRebound bind
etan at scriptreactor.com
Tue Jan 3 06:49:00 CST 2017
Thank you very much!
> On 29 Dec 2016, at 23:03, Guillaume Lessard via swift-users <swift-users at swift.org> wrote:
> Hi Etan,
> `withMemoryRebound` does not copy memory.
> The proposal for UnsafeRawPointer contains information about the memory model (as related to pointers):
> (also, the method is defined in the following file:
> The capacity parameter of withMemoryRebound allows rebinding a contiguous buffer at once; it might be nice if it had a default value of 1.
> Guillaume Lessard
> swift-users mailing list
> swift-users at swift.org
More information about the swift-users