src/main/kotlin/com/flightfeather/uav/socket/ServerHandler.kt
@@ -31,8 +31,7 @@ if (msg is ByteArray) { println("------收到的原始数据:[ip:${ctx?.channel()?.remoteAddress()}] ${SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(Date())}") msg.forEach { var a = 0 a = if (it < 0) { val a: Int = if (it < 0) { it + 256 } else { it.toInt()