I have a method that returns ArrayList<byte[]> and now I want to know if there is a way I can convert it in byte[][]. I've seen so many questions about ArrayList<byte>, but not ArrayList<byte[]>. Can I do that somehow?
ArrayList<byte[]> list = new ArrayList<>()
to
byte [][] b