title: How to create a Pixel_8 buffer in swift
body: <p>I'm trying to convert objective-c code in swift, and I'm completely blocked looking for a way to get a <code>Pixel_8</code> buffer (that I'd normally create using <code>calloc</code> in objective-c) in swift.</p>
  
  <p>Here is an example in Objective-c... how does it convert to swift?</p>
  
  <pre><code>Pixel_8 *buffer = (Pixel_8 *)calloc(width*height, sizeof(Pixel_8)); 
  </code></pre>