Closed felixschlegel closed 1 year ago
String.count is the character count, but not the byte count
String.count
String+KafkaContiguousBytes
String.utf8.count
UnsafeRawBufferPointer
Motivation:
String.count
is the character count, but not the byte countModifications:
String+KafkaContiguousBytes
: useString.utf8.count
when creatingUnsafeRawBufferPointer