When the calculation code is reached, all 12 bytes are already contained in the reading byte array.
There's nothing in the code you posted to indicate that.
When the calculation code is reached, all 12 bytes are already contained in the reading byte array.
There's nothing in the code you posted to indicate that.