20212223242526
double z = buffer.readDouble(); float radius = buffer.readFloat(); int records = buffer.readInt(); byte[] coordinates = new byte[records * 3]; buffer.readBytes(coordinates); return new ExplosionMessage(x, y, z, radius, coordinates); }