Is there an efficient way of converting this information to a D array of type T[] or even T[n]?
Is there an easy way to convert a pointer to malloc'd memory to an array?
Gary Willoughby via Digitalmars-d-learn Tue, 24 May 2016 11:46:45 -0700
I have a T* pointer to the start of a malloc'd chunk of memory,
the type T and the number of T's stored in the chunk.
- Is there an easy way to convert a... Gary Willoughby via Digitalmars-d-learn
- Re: Is there an easy way to ... Adam D. Ruppe via Digitalmars-d-learn
- Re: Is there an easy way... Era Scarecrow via Digitalmars-d-learn
- Re: Is there an easy... Jonathan M Davis via Digitalmars-d-learn
- Re: Is there an easy... Adam D. Ruppe via Digitalmars-d-learn
- Re: Is there an ... Era Scarecrow via Digitalmars-d-learn
- Re: Is there an easy way... Gary Willoughby via Digitalmars-d-learn
- Re: Is there an easy... Marco Leise via Digitalmars-d-learn
- Re: Is there an easy way to ... ZombineDev via Digitalmars-d-learn