mirror of
https://github.com/permissionlesstech/bitchat.git
synced 2026-07-25 08:25:21 +00:00
Improve Data(hexString:) to handle edge cases: - Reject odd-length strings (return nil) - Support optional 0x/0X prefix - Trim leading/trailing whitespace - Handle empty strings correctly Add comprehensive unit tests for hex parsing.