Wondering if Swift’s cornucopia of UnsafeRawMutablePointer etc. classes couldn’t be simplified with some sort of struct description where you can just associate a length field in a struct or mark it as zero-terminated. Define an extension on it with that info.