UnsafeMutableRawBufferPointer

Because it came up at work, a recap of Swift pointer nomenclature:

  • Unsafe - because it is
  • ? Mutable - vs const
  • ? Raw - vs typed, puts the specialness of C’s void * in its own type
  • ? Buffer - knows its length
  • Pointer - because it doesn’t own the data

Originally posted on Twitter.