class Decoder implements PacketDecoder<BatchStatementPreparedUpdate> {
        @Override
        public BatchStatementPreparedUpdate decode(NetInputStream in, int version) throws IOException {<FILL_FUNCTION_BODY>}
    }

            int commandId = in.readInt();
            int size = in.readInt();
            ArrayList<Value[]> batchParameters = new ArrayList<>(size);
            for (int i = 0; i < size; i++) {
                int len = in.readInt();
                Value[] values = new Value[len];
                for (int j = 0; j < len; j++)
                    values[j] = in.readValue();
                batchParameters.add(values);
            }
            return new BatchStatementPreparedUpdate(commandId, size, batchParameters);
        
<no_super_class>