Actually there is:
ArrayList<Byte> bytes = ... It is necessary to convert to:
byte[] lol = ... it is clear that you can like this:
byte[] lol = new byte[bytes.size()]; int inclol = 0; for (Byte b : bytes) { lol[inclol] = b.byteValue(); inclol++; } This code is the norm is that? or is there some sugar for similar situations that i missed? :) It is clear that it is impossible to bring a typed collection to an array right away, but this is why Byte [] (obtained from the collection) to byte [] is not given even as something strange ... autoboxing ignores this situation, I did not find static methods in util .. . :)