mirror of
https://github.com/permissionlesstech/bitchat.git
synced 2026-07-24 22:45:19 +00:00
Convert JSON protocol to efficient binary format
- Implemented compact binary encoding for packets and messages - Reduced packet size significantly (13-byte fixed header + variable payload) - Optimized for BLE's limited MTU with smaller message sizes - Added BinaryProtocol.swift with encode/decode functions - Updated all message types to use binary serialization - Maintains all existing functionality with better performance
This commit is contained in:
+1
-4
@@ -17,10 +17,7 @@ let package = Package(
|
||||
targets: [
|
||||
.executableTarget(
|
||||
name: "bitchat",
|
||||
path: "bitchat",
|
||||
resources: [
|
||||
.process("Info.plist")
|
||||
]
|
||||
path: "bitchat"
|
||||
),
|
||||
]
|
||||
)
|
||||
Reference in New Issue
Block a user