我有一个ArrayList<String>我想通过UDP发送,但send方法需要byte[].
ArrayList<String>
byte[]
任何人都可以告诉我如何将我转换ArrayList<String>为byte[]?
谢谢!
java
java ×1