I am trying to get the fastest performance I can in writing mixed binary numeric and textual data to a memoryblock . To that end I am using a Pointer…
the docs said that Ptr.String existed and wrote code against the docs but then found it was not really supported. So then I thought maybe I could use Ptr.CString… That of course stops writing or reading at a null byte… I think that would not be an issue for UTF8, but can other multi-byte encodings include null bytes in them as part of the text or would it be safe to use ptr.CString with all encodings?
Thanks,
-Karen