title: Generic parameter S could not be inferred
body: <p>Generic parameter S could not be inferred.</p>
  
  <pre><code> var buff:[Int8] = [Int8](repeating:0,count:16)
   ...
   var addr = String(bytes: buff, encoding: String.Encoding.utf8)
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/pOznB.png" rel="nofollow noreferrer">How it seems in xCode</a></p>