Allocating Memory
Get acquainted with the memory allocation methods in D.
We'll cover the following...
Memory allocation methods
System languages allow programmers to specify the memory areas where objects should live. Such memory areas are commonly called buffers.
There are several methods of allocating memory. The simplest method is using a fixed-length array:
ubyte[100] buffer; // A memory area of 100 bytes
...