Java - Byte[] to byte[]

Viewed 52833

There is Vector and DataOutputStream. I need to write bytes from Vector (toArray returns Byte[]) to the stream, but it understands byte[] only. How to convert Byte[] to byte[] ?

3 Answers
Related