This commit is contained in:
callebtc
2025-07-16 16:33:47 +02:00
parent d76644e58a
commit a06bb32e26
3 changed files with 10 additions and 11 deletions
@@ -80,8 +80,6 @@ data class BitchatPacket(
var ttl: UByte
) : Parcelable {
// Secondary constructor removed to enforce ByteArray usage for peerIDs
/*
constructor(
type: UByte,
ttl: UByte,
@@ -97,7 +95,6 @@ data class BitchatPacket(
signature = null,
ttl = ttl
)
*/
fun toBinaryData(): ByteArray? {
return BinaryProtocol.encode(this)