refactor: Replace string reading methods with CString equivalents and improve error handling
This commit is contained in:
1 parent
dbefb0b5f4
commit
767dc1164e
8 files changed
+82
-135
No files matched your search
@@ -105,7 +105,7 @@ class Message {
|
||||
if ((flags >> 2) != txtTypePlain) {
|
||||
return null;
|
||||
}
|
||||
final text = reader.readString();
|
||||
final text = reader.readCString();
|
||||
|
||||
return Message(
|
||||
senderKey: senderKey,
|
||||
|
||||
Reference in new issue
Block a user