refactor: Replace string reading methods with CString equivalents and improve error handling

This commit is contained in:
Winston Lowe committed 2026-03-22 10:50:11 -07:00
1 parent dbefb0b5f4
commit 767dc1164e
8 files changed
+82 -135

No files matched your search

+1 -1
View File
@@ -105,7 +105,7 @@ class Message {
if ((flags >> 2) != txtTypePlain) {
return null;
}
final text = reader.readString();
final text = reader.readCString();
return Message(
senderKey: senderKey,