title: Swift 3 - How to convert memory of Int32 as four characters
body: <p>I want to convert an <code>Int32</code> to a string consisting of four C-style, 1-byte wide characters (probably closely related to <a href="https://stackoverflow.com/questions/14222435/ios-c-convert-integer-into-four-character-string">this</a> but in <strong>Swift 3</strong>). </p>
  
  <p>The use for this is that many API functions of Core Audio return an <code>OSStatus</code> (really an <code>Int32</code>), which can often be interpreted as string consisting of four C-style characters.</p>
  
  <pre><code>fun interpretAsString(possibleMsg: Int32) -&gt; String {
    // Blackbox
  }
  </code></pre>