Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的 android 应用程序接收二进制数据作为 UDP 数据包,我应该如何在 android 中将其转换为 ASCII?
尝试以下操作:
byte [] data = (however you extract data from your source); String result = new String(data, "iso-8859-1");