Answer the question
In order to leave comments, you need to log in
Is it possible to improve the writing of elements to an array?
Task: write the received data from a one-dimensional array into a three-dimensional array.
Is it possible to improve the writing of elements to an array?
byte[] gettingData = new byte[22];
byte[][][] Data = new byte[22][1][1];
client.getInputStream().read(gettingData);
for(int i = 0; i < 22; i++)
{
Data[i][0][0] = gettingData[i];
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question